Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameterized query dialog
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00330308
Message ID:
00330415
Views:
21
>so, when you say I have to return the value in its unload event, you mean in the small form that asks for the value, put: return(city) in its onload event?

Well, most probably in the modal form you'll have a TextBox control that actually accepts the City value.

1. Create a form property on the small, modal form called icReturnValue. Initialize it to a blank string (ie, enter ="" in the Property Sheet).

2. In the Valid() method of the TextBox control that accepts the City value, execute the commands:

THIS.icReturnValue = ALLTRIM( THIS.Value )
THISFORM.Release()

3. In the Unload() method of the small, modal form, execute the command:

RETURN ( THIS.icReturnValue )

That should take care of everything. Now, when you enter a City value, that value will be returned to the calling procedure.
Evan Pauley, MCP
Positronic Technology Systems LLC
Knoxville, TN

If a vegetarian eats vegetables, what does a humanitarian eat?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform