View Full Version : combo/list box


tilhurst
06-22-2000, 03:47 AM
we are using access for our customer enquiry database. In our 'customer column we would like to set up a combe or list box which enables us to choose a customer from the list that we have been building up. However despite making adjustments in the design view look up section we find that the only listings returned in the table are the sequential numbers from the primary key.
Please can someone advise. What are we overlooking?
regards,

lamha
06-22-2000, 04:38 AM
You can choose both fields (cusID, cusName), then set the properties of column count to 2, column width to 0";1"

tilhurst
06-22-2000, 06:57 AM
thanks for advice.

However I have set as you suggested for 'Customer' column and it is now listing details of a different column called 'enquiry numbers' (Example: LY1943-...LY2210). The table has 732 entries, approx: 50 customers

regards

lamha
06-22-2000, 07:35 AM
Did you check your control source of that combo box? It shouldn't be EnquiryNUm. Check your query,too. Do you have EnquiryNum in there? If you do, cut it out.
Hope it works.

tilhurst
06-23-2000, 03:13 AM
still struggling!!

The control source gives 3 options. We have it set to 'job log' the name of the table we are working in. The other two options refer to a query table & a report table.

lamha
06-23-2000, 07:50 AM
You need to create a query. Click on the right side of the pull down arrow on the row source property, it will bring you to the design view of a query. Add table Customer in by right click and select Show Table. Select customerID and customerName.

tilhurst
06-26-2000, 06:46 AM
success!!

thanks for your help