Information générale
Catégorie:
Gestionnaire d'écran & Écrans
How about a simple model form used to return a value...????
>>I have two forms open at one time. I type in a note on the one form and close it. How can I get a text box on the remaining form to populate with the note I typed in on the form I closed. Thanks.
>>
>>God Bless,
>>S. Dyke
>
>Steven, it depends on many factors.
>If your note goes to the table field it depends then on how you set up the textbox.ControlSource (is it a table field or a view field, which type of buffering is selected...) In general, you should put in some code which on Form.Activate makes sure that the textbox.value contains the latest change.
>Depending on how you do things, it may be simple .Refresh(), or CURVAL("myField"), or view REQUERY() (in this case if you have multiple records in the view, you also need to move the record pointer to the same record after REQUERY()).
>
>Nick
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