Charles, Duh, you are right about that. It has been so long since I looked at those functions I forgot how they worked. It looks like your only option is to add some source code. If you look at the generated code, you will see that the field YYFSTS will contain the actual error code. You could move this value to a Plex field using source code and then you could write additional Plex code you want to handle the situations you are concerned about. As always, this can be done in your standards layer so you only have to do it once. In regards to the 2 situations you mention, the problem with another view causing a duplicate key error should show up in testing. You can see this error in your job log. At least that has been our experience. Your second situation regarding the record being added between the CheckRow and the actual Insert has never occurred here that I know of. Of course our systems aren't that transaction intensive, so that might explain it as well. Dean Eshleman,MMA, Inc.