Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One Form to Another
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00298054
Message ID:
00298845
Vues:
26
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
Fil
Voir

Click here to load this message in the networking platform