Access ---> SQL conversion can't get update to work.
Here is my sql:
UPDATE repo INNER JOIN Quotes ON repo.ID = Quotes.RepoID SET repo.InvoiceNum=1064, repo.Rsoldto ='Town Business Center', repo.Rsolddate =4/30/2003, repo.Active = 'Apr 03' WHERE (((Quotes.QuoteNum)=1064));
I get the following error:
Microsoft OLE DB Provider for SQL Server error '80040e14'
Incorrect syntax near the keyword 'INNER'.
/Scripts/commitinvoice.asp, line 44
This code worked fine when using it against msaccess database.
Can anyone tell me what is wrong with it?
Thanks.
Here is my sql:
UPDATE repo INNER JOIN Quotes ON repo.ID = Quotes.RepoID SET repo.InvoiceNum=1064, repo.Rsoldto ='Town Business Center', repo.Rsolddate =4/30/2003, repo.Active = 'Apr 03' WHERE (((Quotes.QuoteNum)=1064));
I get the following error:
Microsoft OLE DB Provider for SQL Server error '80040e14'
Incorrect syntax near the keyword 'INNER'.
/Scripts/commitinvoice.asp, line 44
This code worked fine when using it against msaccess database.
Can anyone tell me what is wrong with it?
Thanks.