Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interactive Messageboxes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00401589
Message ID:
00401609
Vues:
41
Rodney,
The simplest way is to pass the calling form as an object to the modal form. Then you store the data back to the calling form.

1. Do NewForm with thisform && Sends the form object to the modal form (NewForm)

2. In the NewForm Init(), get the parameter and store it to a form property:
Init()
lparameter oCallingForm
this.OForm = ocallingForm (OForm is a form property you add)

3. In the Exit button
This.OForm.TextToUpdate.value = Thisform.NewTextEntered.value
thisform.release()

HTH
Barbara

>Hi Alex,
>
>Thanks for responding.
>
>I guess that's the trick I need...what code would I use to return the text typed in - say for instance to put the text in a textbox on the main form?
>
>(The reason I like this is that it forces the user to enter the ID number first, that way it's not so messy and the record he's working on is secure)
>
>Rodney
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform