G
Guest
I'm not that familiar to Access and would appreciate some help building the
following SQL query.
I have two tables, and if two categories match within the tables, then I
would like a third category entry updated to the first table.
1st Table: Working
2nd Table: Original
Categories (columns) that should match between table 1 and 2:
Pt Acct #
Charge Cd
If the entires for a line match, then update: Lawson #
(take from Original table and enter into line for Working table)
So, basically if the (Pt Acct #) AND (Charge Cd) in the (Original) table
match the (Pt Acct #) AND (Charge Cd) in the (Working) table , then take the
(Lawson #) from the (Original) table and update it to the (Lawson#) entry in
the (Working) table.
Please Help,
following SQL query.
I have two tables, and if two categories match within the tables, then I
would like a third category entry updated to the first table.
1st Table: Working
2nd Table: Original
Categories (columns) that should match between table 1 and 2:
Pt Acct #
Charge Cd
If the entires for a line match, then update: Lawson #
(take from Original table and enter into line for Working table)
So, basically if the (Pt Acct #) AND (Charge Cd) in the (Original) table
match the (Pt Acct #) AND (Charge Cd) in the (Working) table , then take the
(Lawson #) from the (Original) table and update it to the (Lawson#) entry in
the (Working) table.
Please Help,