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

Make table

Status
Not open for further replies.

jaabaar

Programmer
Jun 1, 2011
65
GB
Query type: Make Table.
It generates the make table using the true field names instead of using Caption as field name. For my need it must use Caption as field name. The starange thing is i have 5 make table queries and only one uses Captions as field name.

Is there any way to make caption as field name.


Thanks


 
put the name you want the column to have after the field you retrieve

example:
Code:
SELECT SiteNames.ID AS [Number], SiteNames.SiteName AS site
FROM forecasting_SiteNames;

this will have the columns labelled "Number" and "Site" instead of ID and SiteName
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top