General information
Title:
Classes and private datasession
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only