I was thinking about approaching it as a transaction, even though I've
never actually used the technique before. I'm liking the idea of doing
things on a record-level since it would make it easier to see the
exceptions and correct them as opposed to having to dig through several
records looking for the problem. Even though the number of records will
be in 20-something range, I'd still like to get the ones that valid out
of the way first.
David H
Come on baby light my fire:
www.SpreadFireFox.com
Mark via AccessMonster.com wrote:
> Along with the dbFailOnError feature of using the Execute method, you might
> want to consider wrapping the Execute inside a transaction. This way, if
> the append is successful, you can commit the transaction and finish the
> append. If there was an error in the append, you can rollback the
> transaction (in your error-handling routine) and none of the data will get
> appended.
>
> This assures and all-or-nothing append; otherwise, records will be appended
> until the error occurs, and the rest won't.
>