Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>The load of my base form is where I set delete, exclusive etc.
>>If I add a table to DE ( private data ) and then run form, if the first record is deleted it shows up. I go to BeforeOpenTables and set dele on and this is cured because it fires before load of form. Is there a way to set this as default for BeforeOpenTables ?
>>
>>Thanks!! CB
>
>I have a method in my base form called .SetEnvironment() which does what your load is doing. The only difference is that I make this call as the first statement in the .BeforeOpenTables event of the DE. That way I know the environment is set when it gets to opening the tables.
>
>Steve
Yes good idea !! But do you have to go to each form that you use DE on and add .SetEnviroment() statement in .BeforeOpenTables or is there a way to define that as default for .BeforeOpenTables ?
CB
Précédent
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