Hi There,
How do I do this in an ADP?
UPDATE tbl_QuoteDates INNER JOIN Quotes ON tbl_QuoteDates.QuoteId =
Quotes.[Quote ID] SET tbl_QuoteDates.CustomerID = [Quotes].[CustomerID];
It appears as though the update statement cannot have joins? If so, then
how is this update done?
TIA,
Josh
giorgio rancati - 11 Nov 2005 20:11 GMT
Hi Josh
----
UPDATE tbl_QuoteDates
SET tbl_QuoteDates.CustomerID = [Quotes].[CustomerID]
FROM tbl_QuoteDates INNER JOIN
Quotes ON tbl_QuoteDates.QuoteId = Quotes.[Quote ID];
----
bye

Signature
Giorgio Rancati
[Office Access MVP]
> Hi There,
>
[quoted text clipped - 8 lines]
> TIA,
> Josh
Sylvain Lafontaine - 11 Nov 2005 20:13 GMT
The syntaxe is a little different between Access and SQL-Server. Try
something like:
UPDATE tbl_QuoteDates
SET tbl_QuoteDates.CustomerID = [Quotes].[CustomerID]
FROM tbl_QuoteDates INNER JOIN Quotes ON tbl_QuoteDates.QuoteId =
Quotes.[Quote ID]

Signature
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: http://cerbermail.com/?QugbLEWINF
> Hi There,
>
[quoted text clipped - 8 lines]
> TIA,
> Josh