1,178
社区成员
发帖
与我相关
我的任务
分享
你干脆放个adoquery,写个查询sql语句。
一个query负责保存数据,另外一个query负责查询数据,不会有问题的,也不会有延迟
看help说明
Call Requery to refresh the recordset. Requery updates the dataset by re-executing the original command or SQL statement that produced the recordset.
The effects of Requery are the same as calling the dataset抯 Close method and then its Open method. However, there are circumstances when one means of refreshing the recordset is better than the other. The values in properties like CursorLocation, CursorType, and LockType cannot be changed while the dataset is open, so Requery can only refresh the recordset using the existing values in these properties. To refresh the recordset using different values for these properties, effect the refresh using the Close and Open methods.
Options is a TExecuteOptions value that specifies the characteristics of the command execution affected by the requery that produces the recordset for the dataset.
你有改过CursorLocation,CursorType,LockType 这些属性么?