I'm having difficulty with UseMessageTable when CachedUpdates is True on a TOracleDataSet.
With multiple datasets on a form, some are single row edits, some are grid based edits. I need the CachedUpdates as the contents can be invalid during editing. This works fine, no problems.
However, the MessageTable is not being using when I call Session.ApplyUpdates([...]).
If I set the DataSet.EnforceConstraints or the DataSet.OracleDictionary.EnforceConstraints to True, then it does use the MessageTable correctly but does not obey the cached updates :-( The messages are popping up left right and centre as the various grids etc are edited. I need these purely when the ApplyUpdates is called - not during the editing.
Am I being thick and missed something or is this behaviour not supported?
Thanks
Bill
With multiple datasets on a form, some are single row edits, some are grid based edits. I need the CachedUpdates as the contents can be invalid during editing. This works fine, no problems.
However, the MessageTable is not being using when I call Session.ApplyUpdates([...]).
If I set the DataSet.EnforceConstraints or the DataSet.OracleDictionary.EnforceConstraints to True, then it does use the MessageTable correctly but does not obey the cached updates :-( The messages are popping up left right and centre as the various grids etc are edited. I need these purely when the ApplyUpdates is called - not during the editing.
Am I being thick and missed something or is this behaviour not supported?
Thanks
Bill