Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetFldState and Alias not found troubles
Message
From
21/10/1997 12:30:42
 
 
To
21/10/1997 11:46:12
Bob Lucas
The WordWare Agency
Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00055703
Message ID:
00055767
Views:
56
>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:
>
>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!
>
>
>One thing you want to be careful of is having objects 'outside' of your form referencing the data environment. If your form uses a private datasession, whenever a method is called in the global application object, during this method call, the data session reverts to the datasession of the application object or generally the default datasession. I once tried adding global data handling functions to my application object. Did not work. It could never find the tables. Those methods are now in objects on the form. This could possibly be the 'by design' issue you are experiencing.
Hi Bob.

The program is blowing up on the line _Screen.Activeform.Release(). I don't understand why it only happens on only this one form. I have another form using a different local view, and it shuts down just fine.

Thanks.

Marcia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform