>>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"))
Thanks Sergey, It worked. Now, this may be the subject of another thread but how I add the tables, I tried the same method but didn't work.
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain