Microsoft
Software
Hardware
Network
Question : Combo Box display text vs. actual text
I have 3 combo boxes that are populated using the names of the columns in a database. I was wondering if I could somehow change the displayed text in the combo. So instead of the user seeing:
TenantName
City
FRorCorp
AskCAP
They would see:
Tenant Name
City
Franchise or Coporate
Asking CAP
The code I am using to populate the combo boxes is
SELECT a.TenantName, b.City, c.FRorCorp, d.AskCAP FROM tblTenants a
This is being use for a pop up filter
Thanks
Answer : Combo Box display text vs. actual text
You can use output column names:
SELECT a.TenantName AS [Tenant Name], b.City, c.FRorCorp AS [Franchise or Coporate], d.AskCAP AS [Asking CAP] FROM tblTenants a
Random Solutions
Can I remove Active Directory from AD Recovery Mode (F8) on W2K Server?
Computer Browsing Windows 2008 Server with XP Professional Clients
Load updates from Sql text files
How do I find the logged in Username from a batch file?
Error Type mistach when creating and running Excel macro through Access
Web.config app error problem
Need to make a label visible on screen when record has been deleted but not yet cleared using Pack
Why is #include "stdafx.h" required to run the following code from this C++ book?
How to disable page up and page down keys in ms access 97b
Calculate/edit a field in a datagrid VB.net