Group: Forum Members
Posts: 20,
Visits: 82
|
How can I programatically change the connection string for a VFP database on the fly? We have a user screen definition set that our system uses and there are distinct version/copies which the user selects at runtime. I need to be able to set the connection string to point to the right location before populating the data object for the tables being worked with. Users may use one set of tables, then switch to a different set of them on the fly for a different task set. I don't really have the option at this point of changing how it's done, as we are working with existing functionality. Is there an easy way to change a data object connection string on the fly?
|