OK I am trying to insert all the info from a temp table (las-temp) to a permanent table (las-invoiceitems)
I keep getting a message about a missing semi colon at teh end of the statement but I do not think that is what is wrong can someone help?
I keep getting a message about a missing semi colon at teh end of the statement but I do not think that is what is wrong can someone help?
Code:
Dim strsql As String
strsql = "INSERT INTO [las-InvoiceItems] (PS, Descr, IDNUM, Price, Invoice)" & _
" Values (PS, Descr, IDNUM, Price, Invoice) " & _
"FROM [las-temp]"
Debug.Print strsql
DoCmd.RunSQL strsql