Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MM 7 and Multiple Data Folders???
Message
From
03/12/2002 11:12:52
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
MM 7 and Multiple Data Folders???
Miscellaneous
Thread ID:
00729020
Message ID:
00729020
Views:
59
Is it possible to use MM 7 with multiple data folders (i.e. data2001, data2002, data2003, etc.) and used the registry settings (DBC Locations - Local) to determine which data folder a particular workstation uses?

I have the need to have multiple data folders for my application (i.e. data2001, data2002, data2003, etc.). I am currently using MM 7 and VFP 7. I have done this in the past with a previous version for MM (4?) by having a menu option for the client to select a school year and the program would set the registry entries accordingly and all worked like a charm! I can't seem to achieve this with MM 7.

I am trying to test this process by renaming the data folder to data2003, setting the registry entries to \myapp\data2003\ then trying to run myapp.exe. When I try to open a form, I get an open dialog box. Since I'm not sure what it is trying to open, I hit cancel and get the error \myapp\id.dbf does not exist. Not sure why the id.dbf is trying to be opened in the \myapp folder verses the \myapp\data2003 folder. I then get several procedure cancelled errors and the programs terminates.

Now if I set the registry to \myapp\data\ and rename the \myapp\data2003\ folder back to \myapp\data\ all works fine.

What am I missing? Why will the framework only work in a folder named data?

TIA for any and all advice.
Next
Reply
Map
View

Click here to load this message in the networking platform