clientdataset错误!record not found or changed by other user
pjq1 2003-12-07 10:12:30 具体情况如下:
实现:1、通过clientdataset的commandtext动态改变所要查询的表,即:
想查表a就用select * from a,想查表b就用select * from b
2、手工获取大字段(blob字段)
服务器端:
远程数据模块 RDM 中有query和datasetprovider;
datasetprovider的poallowcommandtext为true
pofetchblobsondemand为true(需手工获取blob字段)
客户端:有socketconnection,clientdataset;
clientdataset的remoteserver为socketconnection;
providername为RDM.datasetprovider
fetchondemand为false;(blob字段不自动打包)
afterscroll中调用fetchblobs(获取blob字段)
这样在调用 clientdataset.commandtext:='select * from a';
clientdataset.open;
时就出错 record not found or changed by other user
主要问题还是在fetchblobs,要是不调用这句的话就没问题,但这样没法获取blobs字段,请问高手应如何解决? 先谢谢了!