Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement