General information
Category:
Coding, syntax & commands
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?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only