Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
It's me again.
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Miscellaneous
Thread ID:
00663239
Message ID:
00663265
Views:
13
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform