>>I'm trying to figure out how to change what dbc my application points to programmatically. The DBC tables and such are the same, I just need to be able to point to one versus the other for debugging purposes.
>
>SET DATABASE TO MyDBC
>CLOSE DATABASE
>OPEN DATABASE FullPathOfMyOtherDBC
>SET DATABASE TO MyOtherDBC
I'm sorry, I didn't make myself very clear. I include the DBC in the project so when I create forms and I bind objects to a datasource I can get the listing to select what I want. The problem occurs when I actually run the program and execute code similar to yours, the form (which has the autoopen an autoclose properties for the dataenvironment) opens the tables that were used in developing the form.
red
red
Rodney E. Dixon
Mckee Foods Corporation
Collegedale, TN