Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass grid parameter to another form's grid ?
Message
 
To
25/12/2000 12:37:34
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00456745
Message ID:
00456747
Views:
31
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform