Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Correct.. The Form Class will not have a Data Environment Class. SO on the form, we set the Custom Method (Update_De Method with the Previous Code) and
in the Data Environment of the Forms, (Or a Custom Data Environment Class
you have made by hand) we call the thisform.update_De() Method in the
BeforeOpenTables...
>Hi Bob, I have a form class that I created by using the add class and selecting form, but there is no data environment in the class. Do I have to have a form then base a class on the form somehow?
>
>Thanks
>
>>We then have a Custom Form Method (Easily used if you Sub-Classed your forms)
>>that is called from the Dataenvironment's BEFORE OPEN TABLES Method.
>>This code is as follows:
>>
>>IF !EMPTY(Data_Path) AND !EMPTY(Data_Drive)
Précédent
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