数据窗口select error :only cancel command is allowed when the rows are pending.异常

数据窗口select error :only cancel command is allowed when the rows are pending.错误在pb9.0中直接运

数据窗口select error :only cancel command is allowed when the rows are pending.错误
在pb9.0中直接运行没有错误,编译后一执行就出select error :only cancel command is allowed when the rows are pending.错误,在数据创建检索中我也没做别的动作这是什么原因呀。

[解决办法]
可能代码中有问题,在检索数据时执行了其它操作