Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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
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