Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OPEN DATABASE & SET DATABASE - how?
Message
From
26/08/1999 08:16:11
 
 
To
25/08/1999 21:09:01
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00257709
Message ID:
00257809
Views:
15
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
Map
View

Click here to load this message in the networking platform