C
cronse
I made an access datebaste for people to enter their overtime in for
work. At the end of each pay period the data is exported into another
access database as a table with the name of the date of the end of the
pay period. In that database I have another table called YearToDate.
I want that table to contain all the information from each of the
different pay periods. I am not sure if I am going about this the
right way but I am trying to use a button that will clear the year to
date table and then uses the following append query to add the data
back into the YearToDate table:
INSERT INTO YearToDate
SELECT *
FROM 61107;
The problem is that there is new date added every two weeks. Is there
a way to create an array of the table names so that I can use that
array to run the SQL statement?
Thank you in advance,
Christopher Ronse
work. At the end of each pay period the data is exported into another
access database as a table with the name of the date of the end of the
pay period. In that database I have another table called YearToDate.
I want that table to contain all the information from each of the
different pay periods. I am not sure if I am going about this the
right way but I am trying to use a button that will clear the year to
date table and then uses the following append query to add the data
back into the YearToDate table:
INSERT INTO YearToDate
SELECT *
FROM 61107;
The problem is that there is new date added every two weeks. Is there
a way to create an array of the table names so that I can use that
array to run the SQL statement?
Thank you in advance,
Christopher Ronse