Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataEnvironment Class problem
Message
De
02/05/2003 14:57:56
 
 
À
02/05/2003 13:25:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00784061
Message ID:
00784302
Vues:
18
>>If you set DataEnvironment.AutoOpenTables property to .T. then you don't have to call OpenTables, it'll be called automatically at proper time.
>>

>I have tried that, and it's the same error.

Sorry, I didn't pay enough attention to the following part:
>
I have made aForm class with CDELoader member object on it with Init method which contains code for creating DataEnvironment class which I have created in separate .PRG program.
>
The AutoOpenTables works only for form's native DataEnvironment or for custom DataEnvironment that is attached to the form by means of Form.DEClass and Form.DEClassLibrary properties (new properties in VFP8).

If you are using VFP8 then use Form.DEClass and Form.DEClassLibrary properties instead of CDELoader object. If you are using VFP7 and earlier, you have to bind controls manually in code after OpenTables has been called.

Thanks,
Aleksey.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform