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
Failed requests and Timer_ConnectionIdle in HTTPERR
how can i take off the minimize,maximize and close botton in a form
Removing Alpha Characters from Phone Number
How to visible false item template column in Grid view when export to Excel
Priniting report causes error "2212 couldn't print object"
Renewing ssl cert on Windows Small Business Server 2003
C#: CreateNoWindow not working
recovering *Contacts* from an old .OST file???
Remove unwanted information during copy and paste process
create query in mdb using ADO and A2k