51CTO技术论坛 » PowerBuilder » sql2000和pb10连接和pb6。5升pb10的问题        上一帖     下一帖    查看完整版本

页: [1]

abc10772008-6-28 11:11
sql2000和pb10连接和pb6。5升pb10的问题

大家好,我一直用pb6。5,现本人急需pb6。5做的系统升级到pb10,折腾了几天都没上上去,遇到了问题如下:
1。pb10和sql2000连接问题,目前我用ODBC来做了连接,但别人说用ole db来连接好一些,但我没成功
2。pb6。5开发的系统升级pb10是提示几个函数和pbl out ot date (例如: ---------- Migrate: Migrate of target
menzhen.pbl(menzhen).menzhen.open.123: Error       C0101: Referenced object f_setup_canshu is out of date, must be converted.
jl_yaofang.pbl(w_yffybb).cb_chaxun.clicked.4: Information C0146: The identifier 'lei' conflicts with an existing global variable with this name. The new definition of 'lei' will take precedence and the prior value will be ignored until this version of 'lei' goes out of scope.
jl_yaofang.pbl(w_yffybb).cb_js.clicked.9: Information C0146: The identifier 'lei' conflicts with an existing global variable with this name. The new definition of 'lei' will take precedence and the prior value will be ignored until this version of 'lei' goes out of scope.
jl_yaofang.pbl(w_yffybb_sf).cb_chaxun.clicked.4: Information C0146: The identifier 'lei' conflicts with an existing global variable with this name. The new definition of 'lei' will take precedence and the prior value will be ignored until this version of 'lei' goes out of scope.
jl_yaofang.pbl(w_yffybb_geren).cb_chaxun.clicked.4: Information C0146: The identifier 'lei' conflicts with an existing global variable with this name. The new definition of 'lei' will take precedence and the prior value will be ignored until this version of 'lei' goes out of scope.
jl_yaofang.pbl(w_yffybb_geren).cb_js.clicked.9: Information C0146: The identifier 'lei' conflicts with an existing global variable with this name. The new definition of 'lei' will take precedence and the prior value will be ignored until this version of 'lei' goes out of scope.
Error       C0114: Error scanning object source entry: f_setup_canshu)
不知道怎么处理了,请高手们帮忙!!!
谢谢

QQ514188147

rogers_2008-6-29 04:13
安装一个SNC吧,,这样可以跟PB9 一样有个专用的接口

abc10772008-6-29 05:34
[quote]原帖由 [i]rogers_[/i] 于 2008-6-29 12:13 发表
安装一个SNC吧,,这样可以跟PB9 一样有个专用的接口 [/quote]

那你能给我发一个吗?网上搜到了几个但不能下载,[email]abc1077@126.com[/email]
谢谢

ribut92252008-6-30 00:43
pb6.5升PB10的确有很多问题
因为PB6.5还不支持双字节,而PB10默认则是双字节

关于PB10用OLE连接SQL,有一个OLEDB项的,不过该项在安装的时候默认是不安装的,应该通过自定义安装,来安装OLEDB

abc10772008-6-30 02:14
双字节的问题pb10自动处理的,因为升级过程的,比如char()自动替换成charA,..等等,再说了,双字节pb8中都开始用了,我已经系统升到pb9了,pb9上运行好好的,说明不是字符处理的问题,不过这些是我的看法,请高手们指教!!!!!

[[i] 本帖最后由 abc1077 于 2008-6-30 10:16 编辑 [/i]]

rogers_2008-7-5 13:48
太大了。邮箱发不了。我QQ发给你就行。。。

rogers_2008-9-9 09:14
发现那个接口问题不少,还是用ole DB比较好。



相关文章:
pbkiller2.5.18
请问大家pbd是PB编写的文件吧能否反编译去掉一个按钮
企业mis系统(cfp)
急求PB建登入介面的问题
PB90通用开发框架(比最完美的还要完美)

查看完整版本: sql2000和pb10连接和pb6。5升pb10的问题


Powered by 51CTO.COM