Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange behaviour of TABLEREVERT(.T.) ?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Strange behaviour of TABLEREVERT(.T.) ?
Miscellaneous
Thread ID:
00055291
Message ID:
00055291
Views:
62
Well, another pretty bad problem.
I have form with many tables, where two of them have buffering set ot 3.
When user clicks to add new record I append new record to each of those tables ( select table and append blank ). Then user changes his mind and click cancel. (I took most part of this mechanism from tasmanian traders app) In query unload event tthe record is checked if it's new and empty, or something has changed. If so user is asked what to do. If he choses to discard everything, I issue =TABLEREVERT(.T.) and then everything seems fien. But those two tables are related and changes in ( appending of new record ) is not discarded. And when I tracedit I found that even I have selected first table, getfldstate of second table is cleared after issuing tablerevert on first one.
What is this?
any ideas?
tia
Dezider
There were three worst disasters in the history of human
race in 20-th century:
1, Hiroshima 44
2, Tchernobyl 86
3, Windows 95
Next
Reply
Map
View

Click here to load this message in the networking platform