With the help of this forum I am using ADO to send data from Excel 2000 to Access 2000 using some VB in Excel. Everything works fine.
I now have a slightly different need - before I send the data I need to check if the record already exists in Access - to avoid getting duplicates each time the data is sent.
Can anybody provide some guidance on how to best do this?
To give a bit more detail -
I have a database with the fields
ProjectNumber
ProjectName
I want to check to see if the ProjectNumber I am about to send from Excel already exists in the Access table, and only send the data if the record does not already exist.
Thanks
Ade
I now have a slightly different need - before I send the data I need to check if the record already exists in Access - to avoid getting duplicates each time the data is sent.
Can anybody provide some guidance on how to best do this?
To give a bit more detail -
I have a database with the fields
ProjectNumber
ProjectName
I want to check to see if the ProjectNumber I am about to send from Excel already exists in the Access table, and only send the data if the record does not already exist.
Thanks
Ade