To add on Kevin comments, have a look at the preference form and study the way the path to the current DATABASE is stored in the registry. The current database is set at runtime by the DataEnvironment of every business object (see the GetDefaultDatabase() method of the cDataEnvironement class in dDataEnv.PRG.
José
>I am currently designing an order tracking system that many different companies can be plugged into (it is for a call management center).
>
>I am looking to physically isolate data between companies by creating seperate database containers for each company that is defined. That is, I want a front-end screen of icons showing all available companies, but once a company is chosen, I want it to point into a specific directory seperate from the the primary data directory.
>
>Is this possible with CodeBook for Mere Mortals?
>
>Thanks,
>
>
vtriiwork@aol.com