Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with datasessions and set default
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01240752
Message ID:
01240757
Views:
12
>>I am having a problem with datasessions on a form. I am trying to have an application work with different data sets at runtime. In this situtation, I have data files (free tables) in the folder the application runs from, but I have alternate sets of data in other folders. I manage this by issuing a "set default" when I select a different set of data, and everything has always worked fine.
>>
>>Historically, I have always manually opened and closed tables for a form either in the setup code that calls the form, or in the form.load.
>>
>>Now, I have a form that I am using the form datasession object in. In this scenario, the form datasession is always loading the data from the folder the application is running out of instead of the folder I have set as default.
>>
>>How can I get around this using the forms datasession, or should I just go back to manually opening my tables?
>>
>>Thanks,
>>
>>Paul
>
>Are you referring to Data Environment of the form?

Yes - I'm sorry!
Paul R. Moon
Business Software Solutions
paul@businessoftware.com
Previous
Reply
Map
View

Click here to load this message in the networking platform