, . , , , EOleException. - , , .
I suggest you check that the new identifier is not yet used before trying to add a new record. Or, as @TLama suggests, take advantage of any error-handling tools in your database infrastructure that let you plug this in before it becomes an exception.
source
share