Microsoft
Software
Hardware
Network
Question : Use an unbound column from a combo box
I have an Access form (named MainForm) used to submit queries. It has a combo box on it (named cmbStates). The combo box displays the unbound (column 1) which consists of state names spelled out (i.e. New York, California, etc). Column 2 of the combo box is the bound column and it consists of state abbreviations (i.e. NY, CA, etc).
On the report that is produced from running a query, I'm trying to be able to display the state name using the following in a textbox's control source:
=[Forms]![MainForm]![cmbSt
ates]
When I do so, it's displaying the state abbreviation. I guess because that is the bound column. I want to display the full state state name (column 1), not column 2. How do I do it? I tried something like this but it doesn't work:
=[Forms]![MainForm]![cmbSt
ates](1)
Answer : Use an unbound column from a combo box
you have to use a query as record source of the report
include in the query the Lookup table for state and use the State field as one of the column, with an Inner join in the State abbreviation field
Random Solutions
Clearing a submit form once submitted
Operation Must Use an Updateable Query
Can you setup Remote Desktop Gateway and Remote Desktop Services on the same Server
Need Code To Lock All Controls On Form
Configuring Netgear ProSafe DGFV338 for VPN Pass-through
ACCES and Excel Fastest way to transfer data
HP Driver Dowload problems
Mail enabled Security Groups in Powershell
Electric Wiring problem ?
Installing Exchange 2003 Enterprise, what switches do I need to use with dcdiag?