Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using a Combo Box value as a paramater to another ComboBox
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Using a Combo Box value as a paramater to another ComboBox
Divers
Thread ID:
00782038
Message ID:
00782038
Vues:
39
Hi.
I Have two CboBoxes on a form, one is depandent on the other as follows:
Both are set up with row sources as sql select commands

CboBox1: Select MyArea from MyFile into Cursor Cur1

cboBox2: Select MyAreaSub,MyArea from MyFIle1 where MyArea = Thisform.cboBox1.Value

This gives an error :- Thisform can only be used from within a method.

It there any way round this where the source of the second combo box is dependent on the value in the first one.

Regards,

Gerard
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform