Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Database Not Found and MetaDBC.dbf record count is 0
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00213132
Message ID:
00213185
Views:
29
>Since you moved the data, have you corrected your registry? If your registry is still pointing to the old location, you will get the database not found message. If you can get your application to the main menu, click on File, User Preferences to fix it or just run Regedit and look for DBC locations under your aplication entry.
>

Well.. if it is looking in MetaDBC then he is using the MetaDBCMgr class and not the registry class.

If you have lUseMetaDBCMgr set to true in your application class, then you need to populate MetaDBC.dbf with the informatin it needs. (See DevGuide.) This file can be embedded into the project. Basically the idea of MetaDBC is to allow the framework to locate different databases that you use in an ap.

If you want to use the Registry setting you would set lUseMetaDBCMgr to .f. then the framework would look to the registry for the path to the database, and as someone said, if you move the data, you must update the registry... this can be done in the User Preferences form under Path to data.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform