Subject RE: [IBO] BeforeExecute triggered too often
Author Jason Wharton
Nando,

I implemented your suggestion to virtualize the creation of the
internaldataset.
I'll log the other issue as an item to research and figure out.

Thanks,
Jason Wharton
www.ibobjects.com


> -----Original Message-----
> From: Nando Dessena [mailto:nandod@...]
> Sent: Thursday, December 02, 2004 2:13 AM
> To: IBObjects@yahoogroups.com
> Subject: [IBO] BeforeExecute triggered too often
>
>
>
> Hello,
> I have found a strange behaviour in IBO that Jason might want to
> investigate upon. I was trying to use the
> TIBOInternalDataSet.BeforeExecute event to do some logging, but I have
> found that it is called between two and four times when you call Open,
> and two times when you cann Execute. I think that it should be always
> called once, but it is debatable whether it should be called twice for
> Open.
>
> I have worked around the issue in a different way, also because that
> application has its library updates freezed for the time being and I
> couldn't upgrade IBO nor patch it myself, so no hurry.
>
> While I am at it, Jason, I suggest you move this line:
>
> FIB_Query := TIBOInternalDataset.Create( Self );
>
> from TIBODataset's constructor to a protected virtual method, so that
> enterprising people can subclass TIBOInternalDataset without pain.
> Currently it's impossible without resorting to illegal hacks.
>
> Ciao
> --
> Nando Dessena
> http://www.flamerobin.org
>
>
>
> ------------------------ Yahoo! Groups Sponsor
> --------------------~-->
> $9.95 domain names from Yahoo!. Register anything.
> http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/PhFolB/TM
> --------------------------------------------------------------
> ------~->
>
> ______________________________________________________________
> _____________
> 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
> !
> Yahoo! Groups Links
>
>
>
>
>
>
>
>