Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass grid parameter to another form's grid ?
Message
 
À
25/12/2000 12:37:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00456745
Message ID:
00456747
Vues:
32
>Hi,
> i have a main form that have a grid and some text box that use to input and display the grid record(records is unique use of same primary key). From the main form i will call another form that will have a grid ,let user to chose the particular row of grid record then by the primary key of the record will search the match data then display on the main form grid.
> I would like to know how to pass the selected grid records parameter from second form to the main form ?
> Or any good ideas ? thanks
>
>kengwen


I thought there was a FAQ item somewhere here on the UT about returning values from forms.
You can create a modal form with a returnval property.
Then when closing the form, set the value of the property to the record number, or th pk value.
Don't release the form. Just hide it.
In the main form you can now read the value from the second form and release it.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform