Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameterized query dialog
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00330308
Message ID:
00330415
Vues:
22
>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform