Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List box 2 based on list box 1
Message
De
12/08/1999 16:28:00
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
List box 2 based on list box 1
Divers
Thread ID:
00253199
Message ID:
00253199
Vues:
67
I have a simple form to print select values in an invoice table. It has 2 drop down lists and view/print cancel buttons. drop down list 1 is a list of vendors (it displaces the vendor name but also contains a vendor code). User picks and vendor and I want drop down list 2 to have only orders for that vendor. I saved the selected vendor code in a property and tried to use it in the select statement for drop down list 2. VFP says This.name or ThisForm.name can only be used in methods. I think I could declare a private variable in in init of form but I am not sure that would work and it seems very unOOPs like. What is the best way to do this?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform