General information
Category:
Forms & Form designer
Sorry, fat fingers [send] before I had finished!
>> can anyone tell me how can I capture data from form to form,<<
There are many different ways;
1. you could pass a variable to the second form as a parameter, this could be updated by your second form.
eg. DO FORM SearchForm with cValue
2. You could pass an object reference
eg. DO FORM SearchForm with oSearch
3. you could pass a reference back to the calling form,
eg. DO FORM SearchForm with THISFORM
4. use a "wrapper"
FUNCTION RunSearch
cReturnValue=""
DO FORM SearchForm && searchform updates cReturnValue
RETURN cReturnValue
The wrapper is probable the most generic in that you can then use it from anywhere, however I have on many occasions used option 3.
Gary.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only