I have a need to show a salespersons name instead of its code, no problem i will just use a combo box.
I also need the combo box to show "Waiting Labour" where the SalesPersonID = 0.
Do i need to setup a text box overlaying the combo or is there another way?
Extra SalesPerson = 0
-
- Administrator
- Posts: 78493
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Extra SalesPerson = 0
Let's say that you have a table tblSalesPersons like this:
You could create a small table tblWaitingLabour with the same structure and just one record:
Set the row source of the combo box to
SELECT * FROM tblWaitingLabour UNION SELECT * FROM tblSalesPersons
You could create a small table tblWaitingLabour with the same structure and just one record:
Set the row source of the combo box to
SELECT * FROM tblWaitingLabour UNION SELECT * FROM tblSalesPersons
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans
Hans
-
- 5StarLounger
- Posts: 1148
- Joined: 08 Feb 2010, 21:27
Re: Extra SalesPerson = 0
Damn, i have already coded it the other way with a text box overlaying the combo box.
I will remember that for next time though.
Thank you very much.
I will remember that for next time though.
Thank you very much.