G
Guest
My problem is that I want to apend the records from one table to another.
Both tables have the same structure and definitions.
I read some of the past postings and I am having trouble using the INSET
INTO command; here is what a member posted in the past:
I declared SQLS as a string
INSERT INTO tblJuly
SELECT tblAugust.* FROM tblAugust
I assume that this must be put into a SQL statement and I created a string
like this:
SQLS = "INSERT INTO LASTAVERUNLINES" & _
"SELECT RUNLINE.* From RUNLINE"
The field structure of both tables are identical.
then I use the SQL execution comand with gthe string.
DoCmd.RunSQL SQL
and it gives me an error related to the Insert command....I'm Lost here, Am
I missing something?
I would appreciate the help.
Thanks, Henry G.
Both tables have the same structure and definitions.
I read some of the past postings and I am having trouble using the INSET
INTO command; here is what a member posted in the past:
I declared SQLS as a string
INSERT INTO tblJuly
SELECT tblAugust.* FROM tblAugust
I assume that this must be put into a SQL statement and I created a string
like this:
SQLS = "INSERT INTO LASTAVERUNLINES" & _
"SELECT RUNLINE.* From RUNLINE"
The field structure of both tables are identical.
then I use the SQL execution comand with gthe string.
DoCmd.RunSQL SQL
and it gives me an error related to the Insert command....I'm Lost here, Am
I missing something?
I would appreciate the help.
Thanks, Henry G.