Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL error upon closing a form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00120396
Message ID:
00120866
Vues:
33
>Actually, now that you mention it, when AutoClose was set to .T. it closed fine. But it closed my database which in turn made it so that I couldn't close any of my other forms which have the views in their data environment.
>I didn't think about it at the time cause I was getting the errors when closing the rest of the forms and I was happy to get rid of the AutoClose problem.
>Have any suggestions?

More questions:

Are you using the default datasession or private datasessions? (Sounds like default).

If default, then simply USE your view
SELECT MyView
USE
before you leave the form.

In fact, you can do the same thing ANY TIME. Put the code in the QueryUnload event, and be sure you call it if you have an exit button.

Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform