Subject Re: [IBO] How to insert or delete record to TIB_Query's internal buffer ?
Author Helen Borrie
At 04:57 PM 12/07/2003 +0530, you wrote:
>Dear Friends,
>
>how to insert or remove record directly to and from the record buffer of
>TIB_Query
>
>when any user insert , update or delete any records my application gets an
>message regarding that operation with ID ( key field value - PK) of that
>record.
>
>now how can i refresh just that perticular record using that Record ID(PK) ,
>so that query doesnt have to fetch all records ( or keys ) to just to
>refresh one(inserted or deleted) record

Kamlesh,
A sample OnDMLReceivedItem handler is included in the Help, under the topic
OnDMLReceivedItem. The technique here is to use the KeyValues property of
the DMLCacheItem to find the bookmark of the affected row in the buffer and
invalidate/delete/insert it appropriately.

Helen