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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query Colum not liked to table to display data

Status
Not open for further replies.

blubomber

MIS
Dec 27, 2001
241
US
I am setting up a Query and in one colum i want it to display a 1 in that colum but not link that colum to any table or other data source.

Thank you for any help.
 
If you are using the query designer in Access, simply add this to a blank column:

FieldTitle: 1

If you are using SQL then add to the select part of the SQL statement:

1 AS FieldTitle

Where FieldTitle can be any string describing the value and not duplicating any of the field names in the tables.

Hope this helps.

OnTheFly
 
Great, that worked and gave me the results i wanted.

Thanks for your help OnTheFly!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top