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

Having Access automatically naming a table bassd on date and time

Status
Not open for further replies.

meagain

MIS
Nov 27, 2001
112
CA
I'd like to create a macro that creates a new table and gives it the name according to the date and time. Is this possible, and how would I go about telling Access (2002)
how to name the new table?

Thank you!!
 


Hi.
Code:
Table.name = format([somedatetime],"yyyymmddhhnnss")
But I am suspicious of tables named with data element values. What's the purpose of creating & maning these tables? What will they store?

Skip,

[glasses]Did you hear what happened when the OO programmer lost his library?...
He's now living in OBJECT poverty![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top