Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>I have a simple table maintenance form - a code and a description. Rather than create 15 practically identical forms for the 15 tables, I want to pass the name of the table as a parameter to a single generic form 'TableMaint' and load the table at runtime. (I also pass the form's caption).
>>
One of them is not to fight with DE, open all 15 tables, and in Form.Init event select appropriate table:
>**** Form.Init event
>Parameter cTablename
>Select (cTablename)
Thanks for the tip. The simplest route was the best. I was concerned about the overhead of opening all the tables, but it's not noticeably slower.
Martyn
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