• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

update records with import process

i am attaching database example and excel sheet.
If you open database and click [import DATA] button on form.
Browse to the excel sheet- and the data is imported into tblOne successfully.

Is there a way to modify this code - When data is imported in tblOne -It only Updates records that have same AutoNum?
( does not import records that have null value in AutoNum field or have AutoNum that does not match).

Thank you
1 Solution
Rey Obrero (Capricorn1)Commented:
you need to import the new records to a temp table, then
run an update query  with your criteria using the temp table as source
run an append query  with your criteria
davetoughAuthor Commented:
thanks cap
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now