Information générale
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement