Subject Catching the states of dataset
Author Paul Gallagher
This is kind of complicated to explain, but I'll try. In the custom TIB_VTree component I am designing, I have to catch the inserts, edits, and deleting of records. I am doing this with the SysStateChanged event. Everything works fairly well, except when I go from dssInsert to dssBrowse. I am having a tough time with the logic to determine if the insert was posted, or cancelled.

Should I be using a differend event, such as OnPost, or is there enough information at the SysStateChanged event to determine the various conditions of the dataset? Is there a flag that tells me if the last edit or insert was cancelled?


[Non-text portions of this message have been removed]