>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?
If it's not broken, fix it until it is.
My Blog