[lazarus] Questions about DB status

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Sep 13 09:08:17 EDT 2003


On Sat, 13 Sep 2003 09:00:51 -0400
Andrew Johnson <acjgenius at earthlink.net> wrote:

Can you give some advice for distributing the work. Then I will help.


Mattias



> ah ok cool. I will look more shortly, but I have started a DataLink for
> data-aware controls, I am looking at Jesus' dbgrid for examples on use
> and using my old Delphi4 help files to try and make it as compatible as
> possible. Once I get that "working" I will try and make a DBEdit based
> around MaskEdit so we have something to use as a db navigator and an
> edit. thats good enough for testing and we can start making sure the fcl
> db backend is good enough fo all these backends like yours. Since this
> is so low level we should make actual  changes needed from delphi
> dataset controls as minimal as possible, no more then from one version
> of delphi to the next, so we will need to fill in the
> appendrecord/insertrecord/insert, findnext/find etc routines, as well as
> quite a few others( I think we may be missng a few as well as the
> unimplimented ones). Once enough are working my dummy unfinished
> texttable or your dxf table(if it can be compilied) can be used to
> refine it further.
> 
> would you like to take my attatched dsnavigator and try and make it more
> compatible with delphi's so it can be the lcl dbnavigator? it can
> compile under both delphi and lazarus so you can test it  and such in
> delphi, with your existing stuff to compare and change. I removed the
> resources so we will need images once it works from the glyphs, but I
> hacked support for text in so it can have text and/or glyphs, and has
> all text on my default(yes we will want localized resource string later
> if we keep this as a feature).
> 
> Andrew
> 
> On Sat, 2003-09-13 at 08:27, Micha Nelissen wrote:
> > Andrew Johnson wrote:
> > 
> > > I want to get DB working in Lazarus, so I looked around in my old
> > > Delphi cruft and found  a dsnavigator I wrote for some reason based on
> > > some freeware one out there. it looks a bit.... wierd and not
> > > DBNavigator compatible  but it seems to work in delphi, and it can be
> > > compiled with pretty much no change in lazarus, so I figured I could
> > > start there and work forward by getting a base FieldDataLink and Edit
> > > based on MaskEdit and make a basic TextTable based on
> > > mylittlebase(which can compile with no changes whatsoever with
> > > fpc1.0.10 in delphi mode) however I discovered to my dismay that a
> > > good half of the functionality needed to implement a proper TDataset
> > > descendant has yet to be implemented. So my question would be this..
> > > should I consider trying to get basic db aware controls "working" even
> > > though the backend dataset stuff is sorely lacking in some areas or
> > > should I try and get fcl dataset more complete(assuming I am capable).
> > > I have a texttable that sort of works in delp!
> hi
> > 
> > b!
> > > ut untill the missing functionality is taken care of in fcl it will be
> > > rather useless. 
> > > 
> > > comments ideas? people want to help?
> > 
> > I am the author of TDbf: tdbf.sf.net which can read/write dbase files
> > and read/write/use/search indexes (ndx,mdx). It now runs 'on' the VCL,
> > it's a TDataSet descendant. Maybe that can be used as a backend. I never
> > tried compiling it because the db-aware controls weren't present
> > anyway...(sigh) and because there is much work to do on the win32
> > interface too. But I am willing to help where possible.
> > 
> > Regards,
> > 
> > Micha.
> > 
> > 
> > 
> > 
> > 
> > 
> > _________________________________________________________________
> >      To unsubscribe: mail lazarus-request at miraclec.com with
> >                 "unsubscribe" as the Subject
> >    archives at http://www.lazarus.freepascal.org/mailarchives
> 


-- 






More information about the Lazarus mailing list