Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create auto update combo box
Message
De
19/06/2002 04:26:18
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
How to create auto update combo box
Divers
Thread ID:
00670040
Message ID:
00670040
Vues:
44
Sorry guys for bothering you again, I never really had much chance to do work in foxpro till this job. (I am more used to the linux no visual programming environment)
I have a quick question, I have put 2 combo boxes in a form, combo A and combo B.
I want to use SQL to pull data into combo A which was sucessfull, but then, I want to pull data into combo B using the selected result from Combo A as one of the parameter in SQL. Unfortunately, after entering the SQL code .. something similar... select A.A from A where this.parent.combo1.value

I got errored out, it said something like I cannot use 'this' in a sql row source control. How can I do this now? I have tried to issue a this.parent.rowsource = sql statement. It doesn't quite work, is it me or is there a easier way or trick you guys can teach me?

Thankx guys~
Tom
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform