Subject Re: [IBO] Stack overflow error while inserting a row
Author Enrique Cereijo
At 11:01 29/01/2002 +1100, you wrote:
> > I have a IB_Query OnActiveChange event which simply does that
>
>I suggest that OnActiveChange may be an inappropriate place for this

Well, with your clues I could fix the problem.

I had not realize that in the datamodule I had assigned code to an IB_Query
BeforeInsert event. That code was intended to assign default values to
fields *when they didn't still exist*. I simply moved the code from the
BeforInsert to OnNewRecord event and everything works fine now.

Thank you for your help Geoff


Enrique Cereijo


>--
>Geoff Worboys - TeamIBO
>Telesis Computing
>
>
>
>___________________________________________________________________________
>IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
>___________________________________________________________________________
>http://www.ibobjects.com - your IBO community resource for Tech Info papers,
>keyword-searchable FAQ, community code contributions and more !
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

Enrique Cereijo