Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with dataenvironment Object
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00563626
Message ID:
00564550
Views:
20
This message has been marked as the solution to the initial question of the thread.
>I've created a custom dataenvironment class and I'm trying to add it to my form with: thisform.addobject("oDataenv","Loadtables"), where "Loadtables" is the my custom class name. It return an error message "Object Class is Invalid for this container". Can anybody help me? Yes I know somebody will.
>
>Thanks in advance,
>
>Enmanuel

Instead of adding DE to the form add custom property with the reference to the new DE
Thisform.Addproperty("oDataenv", Createobject("Loadtables"))
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform