Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Syntax error on update query

Status
Not open for further replies.

TonyKhela

Technical User
May 7, 2002
157
GB
Hi,

I need to run something like:

UPDATE tblDirectDebitInst

SET tblDirectDebitInst.[Next Processing date]=#5/22/2007#

FROM tblMembers INNER JOIN (tblDirectDebits INNER JOIN tblDirectDebitInst ON tblDirectDebits.fklddid = tblDirectDebitInst.ddidno) ON (tblMembers.[Id No] = tblDirectDebits.[Id no]) AND (tblMembers.[Id No] = tblDirectDebitInst.[Id no])

WHERE (((tblDirectDebitInst.[Next Processing date])=#4/22/2007#));

But I'm getting a syntax error.
Can someone assist?

Thanks in advance.

TK
 
ah, you're using the t-sql syntax for update, in jet it's:

update table1 join table2 on table1.col1 = table2.col2
set ...
where...

--------------------
Procrastinate Now!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top