Subject Re: [IBO] Meaning of exception error
Author Helen Borrie
At 06:37 29/08/2008, you wrote:

>Upon posting an edit to a TwwIBOQuery the following error is displayed:
>
>exception class EIBO_ISCError with message 'XC_U_PRES'
>
>Any clues about what might be causing this error would be deeply
>appreciated.

Class EIBO_ISCError catches exceptions returned by the database engine. In this case it is returning a custom exception from a stored procedure or trigger. If this dataset is a select from a table, look at the metadata associated with the table - you will find a trigger there that is throwing this. Or if the dataset is a selectable SP then look at its source code for the exception. All you have to do then is make sure your code catches the exception when it occurs and tells the user what it needs to do.

Guessing at the naming convention used for the custom exception, I'd think the 'XC_U' part is indicating a unique key violation. ;-)

Helen