Subject RE: [IBO] DML Caching and TIBO* components
Author Jason Wharton
If you have a separate component that is handling the DML caching events you
should have it instantiate its own TIB_StatementLink and hook into it to get
the event notifications. You should be able to use the InternalDataset to
assign to it.

Have you tried this?

Jason Wharton
www.ibobjects.com


> -----Original Message-----
> From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]On
> Behalf Of Thomas Steinmaurer
> Sent: Monday, July 11, 2005 10:37 AM
> To: IBObjects@yahoogroups.com
> Subject: [IBO] DML Caching and TIBO* components
>
>
> Hi all,
>
> has anybody already tried to get DML caching working with TIBO*
> components using the InternalDataset property?
>
> I'm writing (at least this is what I'm trying to do *g*) a wrapper
> component which expose the necessary DML caching properties for a
> TIBODataset descendant using the InternalDataset property.
>
> Pretty straightforward, except that I'm having problems with
> processing
> a received DML cache item in the
> TIB_Statement.ProcessLinkEvent method,
> because the whole thing depends on the
> TIB_Statement.StatementLinkCount
> property which is 0 case of using a TIBOQuery.
>
> TIB_Statement.StatementLinkCount is >0 when using a TIB_Query and
> TIB_Datasource for instance.
>
>
> Any hints are much appreciated.
>
>
> Thanks,
> Thomas
>
>