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
Making a form editable in Access 2002
how to devevlope voice chat applications using C#.net ?
Running SQL server DTS with condition check
Microsoft .NET Framework v1.0.3705 Update preventing entering standby...
MSG command giving Error 5 to domain admin
getting the hwnd or dc for access form
Can't get GPO to hide drives
SQL - display the top and bottom date in one result set
Access ADP Error Msg: "Cannot Find Column"
sql server 2005 no services empty list