改变数据窗口更新特性的方法
为enable,则sqlsyntax返回将不完整,插入一条记录时sqlsyntax呈如下形式:
INSERT INTO "personnel" ( "id", "name", "birthday", "technical_post",
( ?, ?, ?, ?, ?, ? )
为了正确返回sqlsyntax,需将binding参数设为disabled, 设置方法是在dbprofile对话框中,将transaction标签页的Disable Bind选项勾上,或者是在personnel.ini文件中DbParm改为:
DbParm=Connectstring='DSN=database_server',DisableBind=1
则sqlsyntax完整返回如下:
INSERT INTO "personnel" ( "id", "name", "birthday", "technical_post", "salary", "notes" ) VALUES ( 100, '令狐冲', '1975-05-01', '工程师', 1000, '软件开发' )
"salary", "notes" ) VALUES