Subject Re: [IBO] Re: how to manually add record to dataset internal buffer ?
Author Kamlesh
Thanks

i want to keep my dataset refresh with the changes made by other users
without closing and reopening it
so i m using DMLCatching
in OnDMLCatchReceiveItem event of dataset i use DefaultDMLCatchReceiveItem
function,

now the problem is instead of fetching only that record this function
(DefaultDMLCatchReceiveItem - which in turn call insertbufferbookmark)
fetches all records from server.
so what i want is , just fetch only require record and put that record on
proper position.


all i want is to keep my dataset aware, alert and refreshed with the changes
made by other users.


Regards
Kamlesh


""allencasteran"" <allen@...> wrote in message
news:c1c0q3+me3n@......
> --- In IBObjects@yahoogroups.com, "Kamlesh" <emailkamlesh2000@y...>
> wrote:
> > dear friends
> >
> > is there any way to manually add record to dataset's internal
> buffer ?
> >
> > i tried insertbufferbookmark but it seems (with sqlmonitor) it
> fetches all
> > records from server again
> > is there any another better way ?
> >
> > thanks
> > Kamlesh
>
> Kamlesh,
>
> I am quite sure that this is not something you should be doing.
> Perhaps if you tell us what you are really trying to accomplish we
> can help you with a more elegant solutions.
>
> Regards,
>
> Allen.
>
>
>
>
>
>
___________________________________________________________________________
> 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
>
>
>
>
>