General information
Category:
Forms & Form designer
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)
Previous
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