Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Classes and private datasession
Message
De
02/04/2003 07:06:52
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Pays-Bas
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Classes and private datasession
Divers
Thread ID:
00772872
Message ID:
00772872
Vues:
33
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
Fil
Voir

Click here to load this message in the networking platform