Subject | BeforePrepare and IBObjects 4.5 |
---|---|
Author | Gerard J.M.Houtenbos |
Post date | 2005-01-25T07:34:56Z |
The problem I'm encountering is very easy to reproduce:
Just make an new application with a TIBODatabase, a TIBOStoredProc and
a TButton component. The SP must point to a FireBird-SP with input
pararmeters. Give the parameters a value in the BeforePrepare-event of
the TIBOStoredProc and execute the SP with the TButton. That will give
a "Stack overflow" because it is called many times!?
If you give the parameters a value in the AfterPrepare-event then all
goes well.
If I use version 4.2 all goes well also.
tia,
Gerard
_________________________
Gerard J.M. Houtenbos
DoubleWood Software
Just make an new application with a TIBODatabase, a TIBOStoredProc and
a TButton component. The SP must point to a FireBird-SP with input
pararmeters. Give the parameters a value in the BeforePrepare-event of
the TIBOStoredProc and execute the SP with the TButton. That will give
a "Stack overflow" because it is called many times!?
If you give the parameters a value in the AfterPrepare-event then all
goes well.
If I use version 4.2 all goes well also.
tia,
Gerard
_________________________
Gerard J.M. Houtenbos
DoubleWood Software