Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I do this? I keep getting errors?
Message
From
04/06/2002 15:27:54
John Baird
Coatesville, Pennsylvania, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Can I do this? I keep getting errors?
Miscellaneous
Thread ID:
00664692
Message ID:
00664692
Views:
48
I have:

DEFINE CLASS CustomerInterface AS SESSION OLEPUBLIC
and
DEFINE CLASS DataManager AS Session OLEPUBLIC

I can:
oData = CREATEOBJECT("DataManager.DataManager")
oCust = CREATEOBJECT("customerInterface.Customer")

?oData.cDbName
?OCust.GetFirstName()

but can I create oDAta inside oCust and do this?
oCust.oData.XXXX()

I keep getting oData is not a valid object error....



2. How do you get that code formatted in that nice little white box?
Next
Reply
Map
View

Click here to load this message in the networking platform