有这样一个语句:
if ADOTable1.Active
then ADOTable1.Close;
当程序走到这个句子的时候,ADOTable的状态是Active,State是dsBrowsing,
但是一旦操作then语句,就会弹出“can't perform this operation on a closed dataset。
这是为什么呢?
...全文
16212打赏收藏
关于ADOTable的操作
有这样一个语句: if ADOTable1.Active then ADOTable1.Close; 当程序走到这个句子的时候,ADOTable的状态是Active,State是dsBrowsing, 但是一旦操作then语句,就会弹出“can't perform this operation on a closed dataset。 这是为什么呢?