General information
Category:
Forms & Form designer
Cetin,
The grid is actually going against a table buffered (5) cursor. When a user makes a change and confirms it, it goes against the master, deactivates the old record (sets a field to false) and inserts the new record from the cursor.
My hope is to keep a master file with a history of changes. I am buffering the cursor so ,in case the user does not confirm the change, I can easily return the record to its previous state.
One other thing:
Since the cursor is table buffered, my getfldstate(-1) will still show a change if the user happens to move through the record again after the initial change has been made to the master. Therefore, I check against the master to see if this record with changes allready exists in the master. If so, I don't execute the rest of the procedure and I don't bother the user.
This is the best approach I could come up with. I am very open to other suggestions. Since I haven't done that much coding in VFP 6, I am still trying to set my standard methodologies.
Thanks again,
Mitch
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