robtarheel
Technical User
I am long time Access user, but very new to VBA. Currently, I have a two tables, one with old "history" data, and one with newly updated, "temporary" data (this data is acually currently being imported from a text file). I want to write VBA that will:
1. Review record in Temporary table and see if that record (tied to two fields, "Defects" and "DefectConditionNumber") exists in the History table..
2. If the record exists
2.1 Read new fields
2.2 Write to update certain fields (not all)
3. If the record does not exist
3.1 Insert entire record into History table.
4. Loop through all records in Temporary table until finished.
Thanks for your help and your time!
Oh, and Merry Christmas
RobTarHeel
1. Review record in Temporary table and see if that record (tied to two fields, "Defects" and "DefectConditionNumber") exists in the History table..
2. If the record exists
2.1 Read new fields
2.2 Write to update certain fields (not all)
3. If the record does not exist
3.1 Insert entire record into History table.
4. Loop through all records in Temporary table until finished.
Thanks for your help and your time!
Oh, and Merry Christmas
RobTarHeel