Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling stored procedures or functions????
Message
From
20/08/1999 08:26:20
 
 
To
19/08/1999 23:01:55
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00255679
Message ID:
00255785
Views:
9
>Craig
>
>Should I add this to my MAIN.PRG.... I tried it there and got an error when i ran the exe.....
> DATABASE 'TIMEPRO' IS NOT OPEN
>Am I missing something, like a path or something?
>
>
>
>
>>Put this before calling the NewID procedure:
>>SET DATABASE TO MyDbc


You need the code someplace after you open the DBC. You can have multiple DBCs open at once and then SET DATABASE TO MyDbc to make a particular DBC current. This works just like a SELECT MyDBF to make a table current.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform