The field ID values are server side generated.
Record(s) are inserted, then the TuniTable is refreshed.
Data is load into lists and the Server inserted ID is visible in a Grid.
Code: Select all
ds.FilterSQL := FilterCondition;
ds.located finds the record
ds.Edit then ds.PostSame code but adding ds.FilterSQL := EmptyStr works fine, btw the filter condition being cleared is identical to the filter condition it is being replaced with.
Also the call ds.refresh is made while this FilterSQL is applied.
This works:
Code: Select all
ds.FilterSQL := EmptyStr
ds.FilterSQL := FilterCondition;
ds.located finds the record
ds.Edit then ds.Post