* Do not depend on TDataset.DataEvent when setting up the test-data

git-svn-id: trunk@10383 -
This commit is contained in:
joost 2008-02-24 13:21:16 +00:00
parent 6c53785e3a
commit 3bb5a786eb

View File

@ -43,6 +43,10 @@ begin
Append;
FieldByName('ID').AsInteger := countID;
FieldByName('NAME').AsString := 'TestName'+inttostr(countID);
// Explicitly call .post, since there could be a bug which disturbs
// the automatic call to post. (example: when TDataset.DataEvent doesn't
// work properly)
Post;
end;
if state = dsinsert then
Post;