>Hello,
>
>Is there any way to change current the DBC to another .DBC (same name, located in another directory) during application run time. I need this when my client wants to open an accounting book for a different company, but in the same session of the running application.
>
>What I do need to change during the run time of my application? Does the dataenvironment in my form knows where to get the tables?
>
>Any hint, clue, help ... will be great.
>
>Regards,
>juan
You should reset Database property for all DataEnvironment.Cursors in DE.BeforeOpenTables event.
Edward Pikman
Independent Consultant