Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a test DBC in conjunction with the live DBC?
Message
 
To
08/06/1998 18:41:50
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00105802
Message ID:
00106255
Views:
32
>>Hi,
>
>>I have a Novell Network and have the same problem. I've solved this by simply mapping a drive letter to my test enviroment and another to my live directory.
>
>>I made two map files (.bat files) as follows:
>
>>testData.bat
>>map root q:= f:\develop\testdata
>
>>liveData.bat
>>map root q:= f:\apps\vpmason
>
>>NOTE:
>>You have to make sure all references to the dataenvironment is to q:\ and not to the mapped 'REAL' directory. In other words, if the .dbc is called myDBC the dataenvironment and all tables must reference q:\myDBC and NOT f:\develop\testData. If you do this - have fun...
>
>>Thats it! Before entering the environment for development I simply choose if I want test or live data.
>
>>In my network login script q: is always mapped to f:\apps\vpMason. That way all the users on the network are using the proper data.
>
>>Robert
>
>Robert,
>
>Thank you very much for your reply. I have had four replies, all of which are workable solutions, but I think yours is the simplest and most elegant.
>
>I have one question, though. Do you always recompile everything before testing and then run the program through the .bat file. So, you never try and run anything from within VFP?
>
>Thanks again,
>
>Peter


Peter,

You don't have to do anything. Recompile is not necessary. The compiled code is going to look for q:\ only for your tables. It doesn't matter if q: is mapped to any directory of your choice.

You can work in development either way also.
Robert.
Previous
Reply
Map
View

Click here to load this message in the networking platform