Information générale
Catégorie:
The Mere Mortals Framework
>>Guess what... I duplicated this today... it happended when I built an .EXE... why it happens in an EXE and not what you run DO MAIN I don't know... I will look through the code and see if I can come up with an answer:
>
>I know why: When you run Do Main, paths are set and MetaDBC is found as it was created when Quickstart was Run. When you run your .Exe file on another directory MetadataDBC is not there. Then it is created an you receive the "MetaDBD Record Count is 0" Wait Window message.
>
Right... but even if lCheckDefaultDataBase is .t. if lUseMetaDBCMgr is false this class should not be used.
>If MetaDBC exists and contains the original Path to where the original database was when created. It is not found and you receive the message "Database not found". Looking at the code, there is a logical property named lCheckDefaultDatabase which is tested in order to get the path to the original database out of MetaDBC. Unfortunately the Devguide refers to this property only for the pourpuse of using multiple Databases at "Miscellaneous Data Environment Settings" and the BizObj Builder is supposed to be used with your own application dataenvironments, not with those that are created at start up like AbstractFactoryEnvironment and EventLogEnvironment.
>
The sort term fix my be to set lCheckDefaultDatabase to false for these classes that use Free tables like Error, Classes, etc.
>I really hope Kevin would take a look at this thread.
>
>Saludos
BOb
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