Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning values from a form
Message
 
To
01/11/2000 09:29:40
Peter Walburn
Omega Data Services Ltd
Aberdeen, United Kingdom
General information
Forum:
Microsoft Office
Category:
Access
Miscellaneous
Thread ID:
00436648
Message ID:
00436706
Views:
30
>I would like to be able to return a variable from a form. What is the best way to do this?
>
>I want to do something like:
>
>lcValue = DoCmd.OpenForm "frmTest"
>
>and lcValue to have the returned value in it.

Are we talking VFP here? If so, then:

DO FORM frmMyForm TO lcValue

In the form's unload event say: RETURN "Some Character Value"

j
Jason Bradley Nance
jbnance@tresgeek.net

Got root?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform