- This topic has 3 replies, 3 voices, and was last updated 4 years, 9 months ago by .
Viewing 2 reply threads
Viewing 2 reply threads
- You must be logged in to reply to this topic.
hi,kim
The record after Undo is still submitted.
kbmMWClientQuery1.Append;
kbmMWClientQuery1.FieldByName('fid').AsString:='4';
kbmMWClientQuery1.FieldByName('fname').AsString:='4';
kbmMWClientQuery1.FieldByName('fint').AsInteger:=4;
kbmMWClientQuery1.FieldByName('fint64').AsInteger:=4;
kbmMWClientQuery1.Post;
kbmMWClientQuery1.Undo;
kbmMWClientQuery1.AppendRecord(['5','5555',1,1]);
kbmMWClientQuery1.Resolve;
best regards.
Hi,
Have you set EnableVersioning:=true ?
/Kim
hi,kim
For ClientQuery, EnableVersioning:=true is the default setting, I need to submit the modification of ClientQuery, so EnableVersioning:=true is what I need.
In this case, I do not need to submit Undo content.
In order to make ClientQuery work as expected, I now have to replace Undo with Delete.
best regards
Tom YU.