Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo boxes
Message
De
30/11/1999 05:18:05
 
 
À
29/11/1999 11:20:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00296379
Message ID:
00296755
Vues:
24
Hi Tom.

>> Once the name is chosen, I need to create a variable for the chosen name to pass to a query. (1)How do I pass a variable from a combo box to a query. <<

Like Nancy, I am a little bit confused as to what your problem is. However, I'll give it my best shot ;-)

Do you mean that you want to use what is selected in the combo box to be used to filter some other result set? If this is the case, you can put code similar to this in the combo's valid:

SELECT Yada, Nada, Blah, and yet more Blah FROM SomeTable WHERE SomeTable.SomeField = This.Value INTO CURSOR Temp

Now, what you do with the result cursor, is entirely up to you.

So tell me, am I close?

Marcia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform