Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-09

Publishing TBufDataset

4 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Zlatko Matić

Hello,

Recently I replaced MemDataset with BufDataset, because it has Locate and filters implemented.
So, I'm wondering why TBufDataset is not published as a component under DataAccess pallette? I think it would be good to do, since it is good component for working with in-memory data, something like Client Dataset in Delphi. Could someone do it for Lazarus 0.9.29?
Would it be hard to publish it for myself? What should I do in order to be able to use it in design time, similar to MemDataset? I have never created a component, so, please, some tips...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20090929/024dfb99/attachment.html>

Reply by email

Osvaldo Filho
to Zlatko Matić

Like client dataset?

2009/9/29 Zlatko Mati? :

Show quoted text 18 lines
Hello, Recently I replaced MemDataset with BufDataset, because it has Locate and filters implemented. So, I'm wondering why TBufDataset is not published as a component under DataAccess pallette? I think it would be good to do, since it is good component for working with in-memory data, something like Client Dataset in Delphi. Could someone do it for Lazarus 0.9.29? Would it be hard to publish it for myself? What should I do in order to be able to use it in design time, similar to MemDataset? I have never created a component, so, please, some tips... -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Joost van der Sluis
to Zlatko Matić: Recently I replaced MemDataset with BufDataset, because it has Locate and filters…
Zlatko Mati? wrote 8 lines
Hello, Recently I replaced MemDataset with BufDataset, because it has Locate and filters implemented. So, I'm wondering why TBufDataset is not published as a component under DataAccess pallette?

It wasn't very stable for in-memory-use. I think it only works really ok with fpc 2.3.1 and higher.

I think it would be good to do, since it is good component for working with in-memory data, something like Client Dataset in Delphi. Could someone do it for Lazarus 0.9.29? Would it be hard to publish it for myself?

Just open the lazarus-sqldb package and see how it's done for the other datasets like the TSQLQuery. It's a one-line fix.

What should I do in order to be able to use it in design time, similar to MemDataset? I have never created a component, so, please, some tips...

Look here:
http://wiki.lazarus.freepascal.org/How_To_Write_Lazarus_Component

Joost

Reply by email

Mattias Gärtner
to Joost van der Sluis

Zitat von Joost van der Sluis :

Show quoted text 27 lines
On Tue, 2009-09-29 at 08:21 +0200, Zlatko Mati? wrote: > Hello, > > > > Recently I replaced MemDataset with BufDataset, because it has Locate > and filters implemented. > So, I'm wondering why TBufDataset is not published as a component > under DataAccess pallette? It wasn't very stable for in-memory-use. I think it only works really ok with fpc 2.3.1 and higher. > I think it would be good to do, since it is good component for > working with in-memory data, something like Client Dataset in Delphi. > Could someone do it for Lazarus 0.9.29? > Would it be hard to publish it for myself? Just open the lazarus-sqldb package and see how it's done for the other datasets like the TSQLQuery. It's a one-line fix. > What should I do in order to be able to use it in design time, > similar to MemDataset? I have never created a component, so, please, > some tips... Look here: http://wiki.lazarus.freepascal.org/How_To_Write_Lazarus_Component

The page contains bugs and makes things more complicated than needed. It does not even contain links to the older pages describing packages. See here for creating and installing a new component: http://wiki.lazarus.freepascal.org/Lazarus_Packages#Quick_Start

I will try to fix a few things.

Mattias

Reply by email