Hello,
I thought I would do a "sanity check" by asking the experts how to do the following:
I need to process external data (it will be in an Access DB table and will be updated daily) into a local Access DB table that has the same structure with additional fields. The local table is prexisting and the designer used an autonumber field as its key. There is a "real key" between the two tables (let's call it PK1 for this discussion (it's not the autonumber field)). The external DB table is not keyed. My main question is: if I want to insert new records (those not having a corresponding field PK1 in the local table), and update existing records (the ones with the PK1 field in common), should I set up two recordsets and a case statement to send the new records to insert and the matching records to update? I'm an Access/VBA newbie who sometimes tends to get too complicated for my own good.
I saw an answer to an earlier post: http://www.thescripts.com/forum/thread558797.html
by Mary McCarthy that was interesting. Should I try something like that?
Thanks!!
Barbara