更新时间:2023-12-05 09:26:46
您拥有 TADOQuery.Modified 属性,例如:
TADOQuery.Modified
You have the TADOQuery.Modified property e.g:
if ADOQuery1.State in [dsEdit, dsInsert] and (ADOQuery1.Modified) then if KeepChanges then ADOQuery1.Post else ADOQuery1.Cancel;
有没有办法知道TAdoQuery处于“编辑”状态是否已更改?