Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieving Form2 Grid1 recordsource to Form1 Grid1 records..
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Retrieving Form2 Grid1 recordsource to Form1 Grid1 records..
Miscellaneous
Thread ID:
00733026
Message ID:
00733026
Views:
73
Hi All,
i have two form named form1 and form2 . i have a command button on the form1 named "browse" and code of this button like under

* form1 browse button click code
PARAMETERS param1,modeladi,LcDosya,LcFile
cFileName = GETFILE("DBF","Select FileName...")
IF ! EMPTY(cfilename)
SELECT * from (cfilename) INTO CURSOR CrsResult
DO FORM form\form2
ENDIF

and i am displaying on the Form2 selected (cfilename) dbf data's ( form2.grid.recordsource is CrsResult )

Now... i wantto put a command button to the form2 with caption "retrieve this recordsource to the form1 grid recordsource "

what should i do for this step by step ? how should be of this button click code ?

TIA
Next
Reply
Map
View

Click here to load this message in the networking platform