Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>What is the best way to set "SET COMMANDS' for private data sessions. I was think of putting them in a procedure and calling it from the init method of the form. Is this a reasonable approach or is there a better way?
>
>Putting it in the Init of the form is more than likely too late. Call your procedure from the Load event of the form, that way the SET commands will take effect before any of the controls on the form are instanciated. If you use data environments, you may need to put you call in the BeforeOpenTable event of the dataenvironment.
Is putting commands in a procedure called from either load or beforeopentable method the best way to set the commands?
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