>Methinks I am not being clear today. :)
>
>My whole objective was to avoid having to write a procedure to handle the error. Because this isn't a global error handler, and only used by a snippet of code, I wanted to just have the error assigned to a global variable and process it within the snippet itself.
>
>Since there is apparently no built-in function to retrieve the error message, and I know no way to assign different values to two variables in the same line, I'll just write the error handler program.
>
>Thanks,
>
>Michelle
Try
on error AERROR(aErrorArray)
Then you have aerrorarray(1,1) as errornumber and aerrorarray(1,2) as message