I'm wanting to run an update query every day, and just catch records that have a CLOSE_CODE of "1", (in data warehouse), and have a Null value for UserNotified and PaidOff (in my table), and update those records in my table.
I get an error about needing an updateable query. But I'm not trying to update a field in the data warehouse table ??
CODE
UPDATE 30accounts INNER JOIN DWVIEWSPROD_V_PORTFOLIO_CURRENT ON [30accounts].Account = DWVIEWSPROD_V_PORTFOLIO_CURRENT.ACCOUNT_NUMBER SET [30accounts].PaidOff = "Yes", [30accounts].UserNotified = "Yes-" & Now()
WHERE ((([30accounts].PaidOff) Is Null) AND (([30accounts].UserNotified) Is Null) AND ((DWVIEWSPROD_V_PORTFOLIO_CURRENT.CLOSE_CODE)="1"));
WHERE ((([30accounts].PaidOff) Is Null) AND (([30accounts].UserNotified) Is Null) AND ((DWVIEWSPROD_V_PORTFOLIO_CURRENT.CLOSE_CODE)="1"));