Now I want to show all the customer and suppliers in one combo box.
I am using a recordset by coding
Expand|Select|Wrap|Line Numbers
- recordset1.open "select name from newcustomer union all select name from newsupplier"
- combobox1.rowsource = recordset1
- combobox1.listfield = "name"
Remember I already made the name columns of both table as primary key so how can I show names from two or more tables in one combo box?