Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Classes and private datasession
Message
From
02/04/2003 07:06:52
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Netherlands
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Classes and private datasession
Miscellaneous
Thread ID:
00772872
Message ID:
00772872
Views:
35
I've created a formclass with datasession = 2
In its init event i open the maintable for this class
When i create an object with newobject(), I get no error

When i put a grid on the class and set the recordsource prop to the maintable
I get an error 'alias maintable is not found' when I create an object of this class
It also looks as if the init event doesn't occur.

What I want is to add objects of formclasses to my application using newobject()
Some of them have to have private datasessions because those use the same maintable.
Each object I want to add is based on a different formclass.

What am i doing wrong here?
tia, Victor
Next
Reply
Map
View

Click here to load this message in the networking platform