StrataFrame Forum
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
Programatic Selection of VFP DBC
http://forum.strataframe.net/Topic14376.aspx
By Cyrus Welch
-
2/13/2008
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?
By Ivan George Borges
-
2/13/2008
Hi Cyrus.
This post might be helpful for you:
http://forum.strataframe.net/FindPost9910.aspx
By Cyrus Welch
-
2/13/2008
Thanks, that looks like exactly what I was looking for.