Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Perhaps I did not understand your reply. I thought that placing the open table code should go in the form Load. The data source of the control must exist before the form Init fires or an error will be produced.
>Load comes first, but the form control's don't yet exist. Controls are INITed from inner most to outer most, meaning the controls are INITed before the form. You'll want to set the control source of the textbox in the Form.Init. I would open the table in the Form.Init and read the value from there.
>
>
>>Which comes first on a form Init or Load?
>>
>>I want to open a table, store a value to a memvar and use trhat memvar as teh control source for a text box.
>>
>>When should I do that?
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