You could examine your program calling stack in reverse, starting from the program that generates the error and moving back. Your error message lists "correlate" as the source method, so look at that object for an Error event, and go backwards from there...
>Mark,
>
>How would I find this? Thanks!
>
>Denise
>
>
>>Denise,
>>You probably have an Error event in effect that is overriding your ON ERROR, possibly in your DBC.
>>Mark
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.