list box 2 based on list box 1 
Author Message
 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 or 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?

Mon, 28 Jan 2002 03:00:00 GMT
 [ 1 post ] 

 Relevant Pages 

1. Toggling Between List Boxes at the Same Location and Selecting Records in Each List Box

2. List box search based on text box entry...

3. List box /combo box usage in a DTS VB custom task

4. Application Role w/Access 2000 combo boxes, list boxes, reports

5. Beginner: Populating text box by selecting from list box

6. List Box and Combo box

7. adding to a combo box or list box

8. Update Text Box from List Box

9. pls help : COMBO box or list box

10. ADO List box and Text boxes

11. List Records of a Database in a Standard List Box

12. Directory list in the list box

Powered by phpBB® Forum Software