Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetFldState and Alias not found troubles
Message
De
21/10/1997 11:46:12
Bob Lucas
The WordWare Agency
Alberta, Canada
 
 
À
21/10/1997 11:18:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00055703
Message ID:
00055750
Vues:
57
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform