General information
Category:
Coding, syntax & commands
Title:
GetFldState and Alias not found troubles
I am getting a migraine headache over this one. I am just starting a new app and testing with 3 forms. One is against a base table, the other 2 are against local views. They all use private data sessions and optimistic row locking. I have 2 major headaches:
1. After I've saved a record VFP 3.0b still thinks I have dirty buffers. It was driving me nuts, so I added a little routine to my form (I'm testing with the one that's using a base table to make things simpler), after the save method runs. All it does is display oldval and curval as well as what's in the buffer. All of the values match after the save. Immediately after this, I put the line wait window getfldstate(-1) and it shows up with a 2 in the string! What gives? Got any ideas?
2. When testing with one of the forms against a local view, when I select the exit option from my main menu, I get an error in the goapp.cleaup() when it is releaing this form. The error says "lv_Region alias not found" but if I suspend, go to the command window, and type DISPLAY STATUS, lv_region is there!
Has anyone ever experienced anything like this? I'm lost.
TIA
Marcia
Next
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