General information
Category:
Forms & Form designer
Title:
List box 2 based on list box 1
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only