G
Guest
I have a transferspreadsheet cmd that imports a table from excel named
TblTempCap that has a DATE field. This table is imported into
TblCAPAllAccounts that has a corresponding Date Rpt'd field through a RunSQL
command. The TblTemp table could have 200 records but will all have the same
date in this DATE field.
What I need to do is this: IF a date in TblTempCap matches one or any of
the dates in TblCAPAllAccounts, then there's duplicate data and I need to
divert to the error handler and end the sub. I'm rather new at this and have
gotten very stuck here. I'm using Access 2000.
TblTempCap that has a DATE field. This table is imported into
TblCAPAllAccounts that has a corresponding Date Rpt'd field through a RunSQL
command. The TblTemp table could have 200 records but will all have the same
date in this DATE field.
What I need to do is this: IF a date in TblTempCap matches one or any of
the dates in TblCAPAllAccounts, then there's duplicate data and I need to
divert to the error handler and end the sub. I'm rather new at this and have
gotten very stuck here. I'm using Access 2000.