Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursorsetprop() +tablerevert()
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00067244
Message ID:
00067614
Views:
35
>>>I've got the tablerevert working ok on a form whereas all changes to a record are undone upon 'Abort' but how do I undo an 'Append blank' if the user chooses to 'Abort' halfway thru?
>>Timothy,
>>
>>You TableRevert just like reverting the edit. The appended record is just an edit to the table that will be reverted if you TableRevert.
>
>What I want to check for, is if the user started to edit some fields before I do the tablerevert() on a newly appended record.

Tim, look up GetFldState(-1) in Help. You can see if it is a new record, if it is deleted and if any field has been changed.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform