Subject Re: SV: [IBO] no return message of error in contraint of type check
Author George
--- In IBObjects@yahoogroups.com, "Magnus Johansson" <trans-x@...>
wrote:
>
> > When the firebird provokes an exception of type check the
ibobject now
> > he does not return the type of produced error, with which it is
not
> > possible to know that contraint of type check to given the error
> >
>
> If you have the source to 4.6.Bc you can change line 8300 in
IBODataset.pas
> from
> if ( ErrorMessage.Count > 5 ) then
> to
> if ( ErrorMessage.Count > 7 ) then
>
> Rebuild and see if that helps.
>
> /Magnus
>

I have taken the line of least resistance and put a break at line
8298 of IBODataset.pas. Inspecting ErrorMessage.Text gives the error.

Cheers

George