WIN7 32bit pb10 sqlserver2000 odbc

rocin1118 2011-02-18 03:18:02
rt~~ 我在这样的环境下用数据窗口做查询,传变量进去sqlpreview出来where条件变量的位置变成问号了,insert也是如此value(?,?,?)不知是什么原因,别的一切正常。
哪位大师指点下小弟,小弟第一次发帖没分送,海涵
...全文
85 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
pb8 2011-02-20
  • 打赏
  • 举报
回复
设置dbparm的DisableBind=1就可以了;
GetSQLPreview and binding When binding is enabled for your database, the SQL returned in the GetSQLPreview method may not be complete—the input arguments are not replaced with the actual values. For example, when binding is enabled, GetSQLPreview might return the following SQL statement:

INSERT INTO "cust_order" ( "ordnum", "custnum",

"duedate", "balance" ) VALUES ( ?, ?, ?, ? )

When binding is disabled, it returns:

INSERT INTO "cust_order" ( "ordnum", "balance",

"duedate", "custnum" ) VALUES ( '12345', 900,

'3/1/94', '111' )
tomorrower 2011-02-19
  • 打赏
  • 举报
回复
pb10是不是依旧不支持windows7?
我现在也在将XP下的pb9+asa8开发的程序移植到windows7旗舰版本中,发现可以运行
但是pb中关于注册表函数在windows7中无法起作用,求助中
rocin1118 2011-02-18
  • 打赏
  • 举报
回复
copyd到XP环境一切正常的,怎么回事哦
xuam 2011-02-18
  • 打赏
  • 举报
回复
字符集的问题?

1,077

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder 相关问题讨论
社区管理员
  • 基础类社区
  • WorldMobile
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧