A
Andre
Access97/SQL2k
I'm trying to load a local Access table to a linked SQL table and am running
into this error - incorrect syntax near the keyword Group. The problem is
because the table has a column named "group" (I inherited it). I'm using
code similar to the code below to load it - can anyone tell me how I can
modify the code so that it works?
CurrentDb.Execute ("Insert Into dbo_MyTable (Col1, Col2, [Group]) Select
Col1, Col2, [Group] from myTable"), dbSQLPassThrough
Thanks, Andre
I'm trying to load a local Access table to a linked SQL table and am running
into this error - incorrect syntax near the keyword Group. The problem is
because the table has a column named "group" (I inherited it). I'm using
code similar to the code below to load it - can anyone tell me how I can
modify the code so that it works?
CurrentDb.Execute ("Insert Into dbo_MyTable (Col1, Col2, [Group]) Select
Col1, Col2, [Group] from myTable"), dbSQLPassThrough
Thanks, Andre