General information
Category:
Forms & Form designer
I'm not sure how to do it within the context of what you've alreaady got. My edits take place in text boxes against a data object (so if they cancel I just dump the object) while the grid is for locating records only at this point.
>Hi Cindy,
>Thanks for the input. My thinking on that was that AfterRowColChange was too late because if the user answers "Cancel" to the "Do you want to save?" question then I don't want them to leave that record. However, if I do this then do a locate in the recordSource table to find the record that I just left, will the grid reflect this row change?
>
>>Add a property to the grid or the form which will hold the PK (second choice >is RECNO()) of the record you're on.
>
>>In the AfterRowColChange() compare the PK of the current row to the PK in the >property. If it's different, you know you're on a different record.
>
>>If it's different, update the PK in the property, and do whatever other stuff >like highlighing the row.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only