Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
It's me again.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Divers
Thread ID:
00663239
Message ID:
00663265
Vues:
14
Julie,

>Okay I got the business object thing and the data environment. Last problem: When I createobj(objname) at the command line for the first time it is asking me for the database name? The dbc is my own that I added to the framework project. I added the record in the metadbc.dbf with it's full path I can resolve the problem by opening the databasecontainer 1st but that won't work if I need to drop the bizobj on a form? What could be wrong...as always thanks so much.

If you haven't already done so, I recommend adding the path to your database in StartMM.prg. Then you can instantiate your business object from the command window as follows:

DO SETX
x = CREATEOBJECT("MyBizObject")

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform