Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display Field Name as Value

Status
Not open for further replies.

czarjosh

Technical User
Jul 14, 2002
79
US
How do I display the field name as a value in my query?
 
In the query grid:
FieldName: 'feld name'

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
that does not bring in teh name of the field
 
Please be more specific: what do you really want ?
Can you please post some input samples with expected result ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
The field name is "Home Address" or whatever. SO when I make a query iw ant it to list teh value i select in one column AND in teh second column i want it to display the label of the field name.
 
SELECT [Home Address], 'Home Address' As Label
FROM yourTable

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top