General information
Category:
The Mere Mortals Framework
Title:
MM 7 and Multiple Data Folders???
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only