以文本方式查看主题

-  蓝色快车PB俱乐部论坛  (http://pb.besoft.com.cnhttp://pb.besoft.com.cn/bbs/index.aspindex.asp)
--  PowerBuilder MIS编程  (http://pb.besoft.com.cnhttp://pb.besoft.com.cn/bbs/index.aspbbs.asp?boardid=1)
----  数据窗口操作时,不能增加或更新,好像是日期问题  (http://pb.besoft.com.cnhttp://pb.besoft.com.cn/bbs/index.aspdispbbs.asp?boardid=1&rootid=3811&id=3823)


--  作者:ppxstar
--  发布时间:2006/6/2 10:18:30

--  数据窗口操作时,不能增加或更新,好像是日期问题
提示如下:

SQLSTATE = 3075
Microsoft JET Database Engine
不正常 GUID。 在查询表达式 '{ts '2006-05-09 00:00:00.000'}' 中。

No changes made to database.

UPDATE tblclient SET nextcalltime = {ts '2006-05-09 00:00:00.000'} WHERE nextcallnotes IS NULL AND id = 86 

我的数据库是mdb
用oledb连接

更新,主键,tab等什么都设置了


--  作者:ppxstar
--  发布时间:2006/6/8 10:15:30

--  
其它都正常,就是用pb日历控件向数据库插入日期时出错

">