Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OPEN DATABASE & SET DATABASE - how?
Message
De
26/08/1999 08:16:11
 
 
À
25/08/1999 21:09:01
Peter Brama
West Pointe Enterprises
Detroit, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00257709
Message ID:
00257809
Vues:
16
If you use Private DataSession, the OPEN DATABASE in the main program is useless. You don't need to open the database manually, because opening a table open the corresponding database automatically. I rarely use OPEN DATABASE in programs. You would use SET DATABASE TO before calling a stored procedure.

HTH

>I have an app that uses stored procedures. It was recommended I put the OPEN DATABASE MYDB in the main program for my application. I put it right before the READ EVENTS.
>
>I put the SET DATABASE TO MYDB in the LOAD of all my forms.
>
>When I BUILD/RUN the app from the project manager, it works fine. When I install the app using the SETUP WIZARD, and then run it, the app starts, but I think when the first form (a menu form) attempts to load, I get a DATABASE 'MYDB' IS NOT OPEN. Am I missing something here?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform