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
Securing an MMO game against cheaters
SCCM Query for systems with a specific File Name & Specific Version of that file
Sorting NULLs last when Sort Order is Ascending
Outlook 2007 Keeps Asking for Password - Doesn't Like Anything I Type - Vista / Exchange Email
sharepoint availability
Geting a vbYesNo MsgBox to call a macro
Microsoft Office 2007 Enterprise continually tries to reinstall
Foxpro Can't Seem to Find Word 2007 under Windows 7
PHP SESSION doesn't pass value to sub or upper directory on Linux
Show / Hide command button?