Information générale
Catégorie:
The Mere Mortals Framework
>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement