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

Selecting table name from current date in Access DB

Status
Not open for further replies.

Perilous1

IS-IT--Management
Mar 10, 2005
171
0
0
US
I am creating a job calendar and I want to have a separate table in an access database for each day. The simplest solution seems to be to just name each table as the current Calendar1.Value

I am having trouble however determining how best to query a table name based on a variable with a date string.

Please bear in mind, all of my SQL statements are in DataEnvironment commands rather than in code.

Any help with this would be greatly appreciated.
 
This is a VB5 & 6 forum, you have data base / Access related question, so you are in the wrong forum.

Perilous1 said:
I want to have a separate table in an access database for each day

Bad, bad, bad idea.
You are breaking several rules of relational data base design with this approach.

Have fun.

---- Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top