Non-blob column in table required to perform operation错误是怎么产生的?请高手指教,在线
我用的数据库是Sybase11.92,在表中没有大字段,只有Numeric和Char型字段,
我在Delphi中的用法是先用一条SQL语句查询出内容
select * from heatfee where usercardid=''000'''
然后使用Append增加数据,使用Post保存,数据可以保存,都很正常,就是出现上面的错误提示,不知道什么原因,请大侠赐教。
分数不够您说话   :)

解决方案 »

  1.   

    给你帖一个关于此问题的英文解答
    Question:
    How come I'm getting the error 
    "Non Blob column in table required to perform operation" when posting to my MSSQL database? Answer:
    There are two conditions where this error occurs: 
    You have an identity field and a field that is NOT NULL (required) and you post a record. 
    With BDE versions prior 5.10, all you can do is ignore the error and continue. The problem is resolved simply by getting BDE 5.10. 
    You have an identity field which is the primary key and a key field, you have a text field, and you post a record. 
    With BDE versions prior 5.10, all you can do is ignore the error and continue. If you have BDE 5.10 and Delphi, you can turn on the AutoRefresh property of your DataSet to resolve the problem. If you have BDE 5.10 and development system other than Delphi 5, you can call DbiSetProp and set curAUTOREFETCH (which is equal to 0x00050017) to true.