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
I get a error message when I reference a dll file to my C# Window application
SQL Functions
MS Access Specify Table Error
Find last time a stored procedure was used
W2K8 DCOM error 10016
How to edit a column in a list box control and update back to the Table in Access.
Linked tables and Sql Server Password
Dropping a column that is indexed.
OWA with two Exchange 2003 servers
Active Directory Replication