Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing datasession or SET('DATABASE') to other form
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00187750
Message ID:
00187796
Views:
24
If your search form is called from the first form, and the first form uses private datasessions, then set the default datasession to default to use the DS from the calling form.

>...snip
>It works fine unless the calling form has a private data session. The dbGetProp function generates the error "No database is open or set as the current database". First I tried to pass the search form the value of DBC(), but that was blank for some reason. Then I tried to pass it the calling form.DataSessionID, and used SET DATASESSION TO that value
...snip
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform