Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List box 2 based on list box 1
Message
From
12/08/1999 16:28:00
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
List box 2 based on list box 1
Miscellaneous
Thread ID:
00253199
Message ID:
00253199
Views:
66
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?
Next
Reply
Map
View

Click here to load this message in the networking platform