How add records to a table from a temporary table if two fields DO have an exact match

I have two tables.  One of them is a temporary table named tblTempPurchaseOrdersImport and the other one is named tblPurchaseOrders.  I'm trying to figure out how to REPLACE records in the table tblPurchaseOrders from the table tblTempPurchaseOrdersImport ONLY when two field values from tblTempPurchaseOrdersImport DO already exist in tblPurchaseOrders.  Those two field names are PurchaseOrderNumber and PurchaseOrderLineNumber.  When they DO exist I want records from the tblTempPurchaseOrdersImport  to REPLACE the records in tblPurchaseOrders .  How can this be done.

I'm sorry if this is confusing.

(I just posted a similar topic but just the opposite from this scenario)
SteveL13Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PatHartmanCommented:
Create an update query that joins the two tables.

1. Open the QBE and select the two tables.
2. Draw the two join lines between the tables connecting fld1 to fld1 and fld2 to fld2
3.  Select the column you want to update
4.  Change the query type to update.  Access will add a new row to the grid named "update to"
5.  For each column you want to update type in tablename.fieldname to indicate the source of the data.
SteveL13Author Commented:
I created two topics because at one time I was told to only present one question per topic.
PatHartmanCommented:
I understand but they are part of the same problem.  Try the right join.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.