I have the following strSQL in a module and would like to add the date of the last day of previous month to it so that it creates a unique table each month:-
For example, for October it should create a table called tblQPDItems 30/09/2006 but am not sure how to concatenate the dateserial function within the SQL string.
Thanks in anticipation
If IT ain’t working Binnit and Reboot
Code:
strSQL = "SELECT * INTO [tblQPDItems]FROM qryQPDDeclaration;"
For example, for October it should create a table called tblQPDItems 30/09/2006 but am not sure how to concatenate the dateserial function within the SQL string.
Thanks in anticipation
If IT ain’t working Binnit and Reboot