Subject | Re: [IBO] Re: how to manually add record to dataset internal buffer ? |
---|---|
Author | Kamlesh |
Post date | 2004-02-23T06:51:02Z |
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@......
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 orInterBase
> without the need for BDE, ODBC or any other layer.___________________________________________________________________________
>
> http://www.ibobjects.com - your IBO community resource for Tech Infopapers,
> keyword-searchable FAQ, community code contributions and more !
> Yahoo! Groups Links
>
>
>
>
>