B
BBAL20
I'm trying to update a Yes/No column based on the CHD_ACCOUNT_NUMBER field
not being equal (<>) to the Prev_Ref_NO field. I think I know what the
problem is. Access is going row by row or record by record and checking if
both columns are equal and then marking "Yes". I need Access to check the
CHD_ACCOUNT_NUMBER field for the first value and reference the entire
Prev_Ref_NO column rather than just that row or record to find a match. I
hope that's not confusing. I've included my Update query below. Any help and
support is greatly appreciated.
UPDATE Daily_Scrubbed SET Daily_Scrubbed.Active = Yes
WHERE
(([Daily_Scrubbed]![CHD_ACCOUNT_NUMBER]<>[Daily_Scrubbed]![Prev_Ref_NO]));
not being equal (<>) to the Prev_Ref_NO field. I think I know what the
problem is. Access is going row by row or record by record and checking if
both columns are equal and then marking "Yes". I need Access to check the
CHD_ACCOUNT_NUMBER field for the first value and reference the entire
Prev_Ref_NO column rather than just that row or record to find a match. I
hope that's not confusing. I've included my Update query below. Any help and
support is greatly appreciated.
UPDATE Daily_Scrubbed SET Daily_Scrubbed.Active = Yes
WHERE
(([Daily_Scrubbed]![CHD_ACCOUNT_NUMBER]<>[Daily_Scrubbed]![Prev_Ref_NO]));