brian_msbc
Registered User.
- Local time
- Today, 00:59
- Joined
- Dec 12, 2016
- Messages
- 17
Not sure if this should go in the Access forums or the Excel, ill post to both...
Im using this VBA line to insert into an Access DB:
rs is a RecordSet
qry is a String ("Insert INTO Table (a,b,c) Values(a,b,c)"
I want to preface this command with a check to see if the record already exists. If so, I want to skip the insert command. Any Suggestions?
Im using this VBA line to insert into an Access DB:
Code:
rs.Open qry, conn, adOpenKeyset
rs is a RecordSet
qry is a String ("Insert INTO Table (a,b,c) Values(a,b,c)"
I want to preface this command with a check to see if the record already exists. If so, I want to skip the insert command. Any Suggestions?