I'm getting an assertion if I do following operation with a TMSQuery in CachedUpdates mode (with newest SDAC 4.10.0.10, also in many older ones):
Code: Select all
var
d: TMSQuery;
begin
....
d.Open;
d.Edit;
d.FieldByName('....').AsFloat := ....;
d.UpdateRecordTypes := [rtInserted];
d.First; // here comes the assertion exception
d.Post
before the
d.UpdateRecordTypes := ...
statement, but I think, such exception should never appear.