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
How to setup network
Treeview control that support thumbnails or images.
SBS 2008 Inetpub log files
VBA assistance
exchange 2010 transport hangs on starting
Access is denied, unable to remove device when trying to delete a printer.
Which Java IDE is as friendly as Visual Studio
Does ADO.Net provides any standard processo to swith to/from connected to disconnected datasource?
Cheap backlinks? Best bang for the buck SEO site?
problems with specific user in exchange 2003 environment