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

Automatically name a Make Table Query

Status
Not open for further replies.

hsrour

Programmer
Mar 4, 2002
5
US
I need help automatically naming a make table query. I need the name to be the date without slashes or dashes. Any help would be fantastic!!!
 
SELECT YrTbl.YrID, YrTbl.YrField, YrTbl.GID INTO " & date &"
FROM YrTbl;

Herman
Say no to macros
 
the date without slashes or dashes
Have a look at the Format VBZ function:
Format(Date, "yyyymmdd")

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

Part and Inventory Search

Sponsor

Back
Top