Ok need a litle help on this one guys.
I have a combo box that displays value from a Category table and the selected value will be stored in my Contact table.
No problem there that part works fine.
What I would like to do is display a value called "Not Assigned" at the top of the combo box all the time. The value of "Not Assigned" is NOT stored in the Category table. I am trying to accomplish this without storing "Not Assigned" in the Category table.
If this can be done the value of CategoryID should be assigned the number 0 and stored in the Contact table.
Category table as 3 fields
CategoryID - Autonumber - PK
CategoryDesc - Text - ie: Client, Vendor, etc.
CategoryColour - Text - used to store a hex number
CategoryID is the FK in my Contact table
The combo box currently has the following properties:
Control Source - CategoryID
Row Source - SELECT [tContactCategor y].[CategoryID], [tContactCategor y]. [CategoryDesc] FROM tContactCategor y ORDER BY [CategoryDesc];
Bound Column - 1
Column Count - 2
Column Widths - 0,1
Any ideas?
cheers,
I have a combo box that displays value from a Category table and the selected value will be stored in my Contact table.
No problem there that part works fine.
What I would like to do is display a value called "Not Assigned" at the top of the combo box all the time. The value of "Not Assigned" is NOT stored in the Category table. I am trying to accomplish this without storing "Not Assigned" in the Category table.
If this can be done the value of CategoryID should be assigned the number 0 and stored in the Contact table.
Category table as 3 fields
CategoryID - Autonumber - PK
CategoryDesc - Text - ie: Client, Vendor, etc.
CategoryColour - Text - used to store a hex number
CategoryID is the FK in my Contact table
The combo box currently has the following properties:
Control Source - CategoryID
Row Source - SELECT [tContactCategor y].[CategoryID], [tContactCategor y]. [CategoryDesc] FROM tContactCategor y ORDER BY [CategoryDesc];
Bound Column - 1
Column Count - 2
Column Widths - 0,1
Any ideas?
cheers,
Comment