[patch_done] Filtered table error after post violates filter
Posted: 06.04.2012, 20:54
When in a filtered table (using event OnFiltered) a field is changes, such that the record will be filtered out, then after commit it raises an exception.
Example:
Filter is on field 'Active = True' and I set in GUI Active to False and press commit, it comes up with an error.
The error originates from TZAbstractDataset.InternalPost where it tries to locate the bookmark (which is not valid off course). I fixed it by checking the validity of the bookmark and if it is not valid, I don't jump to the bookbark and also don't 'resync'
Example:
Filter is on field 'Active = True' and I set in GUI Active to False and press commit, it comes up with an error.
The error originates from TZAbstractDataset.InternalPost where it tries to locate the bookmark (which is not valid off course). I fixed it by checking the validity of the bookmark and if it is not valid, I don't jump to the bookbark and also don't 'resync'