>Is it possible to switch vfp databases within an application? How do you get around the pathing statements in each form 'scx' and report 'frx' files that contain tables from a database in their data environment?
>
>The reason for this question is the need to provide the customer with a training mode for a point of sale system. Any help would be appreciated.
We use the form Load() event to set the proper path of the required components. We have defined the proper code in the base form class and that does it. The params are read from a higher level component. For us, we use a simple INI file to store that info.