main logo
Subject: Re: CB62 Wish List
Author: Bhavbhuti Nathwani
Posted: 2002/01/17 09:44:50
 
View Entire Thread
New Search


Ed heres another one:

Escape in forms to close the forms, same working as Ctrl+F4

<i><font color="#663300"><i><font color="darkred">1) Could you allow properties/code for Multi-Company. The software remains the same local views, remote views, etc. but to allow for different sets of data to be selected at the startup of the app or better still a Company menu pad to select between companies.</font></i>

<i><font color="darkgreen">That's certainly possible, although not at all simple. Perhaps if there is anyone out there who has accomplished this in their app who wants to share their strategy. If I could get such a source, I would be glad to try to build something like that.</font></i>

<i><font color="#663300">If you can point out then I can try coding one. The wheres and whens I don't know, once given I can do the hows. :)</font></i>

You should take a look at the cursor classes of cDataEnv.prg. The GetDatabasePaths() method of the cDataEnvironment class is probably the place to start. I'm sure you could work something out using the DBPaths table and some sort of dynamically set flag, similar to what is done with the local/remote view switching in cDynamicViewCursor.
</font></i>

Regards
Bhavbhuti
 
©2002 Bhavbhuti Nathwani
<-- Prior Message New Search Next Message -->