Re: [fpc-devel] Warning for sqldb and fpc 2.1.1 users

2006-04-02 Thread Michael Van Canneyt
Hoi, Ik heb master-detail relaties geimplementeerd voor sqldb. Het meeste zit in db.pp; Ik heb 't getest met interbase, en dat werkt correct, schijnbaar. Als je wat tests zou kunnen doen zou ik dat appreciƫren ;-) 'T werkt als volgt: als een parameter niet 'bound' is, en de datasource is

Re: [fpc-devel] Warning for sqldb and fpc 2.1.1 users

2006-04-02 Thread Michael Van Canneyt
On Sun, 2 Apr 2006, Michael Van Canneyt wrote: Woops ! This was supposed to be a private communication to Joost. For non-dutch speakers (probably the majority on the list ;)) It says that support for Master/Detail relationships is implemented in SQLDB, and that it seems to be working fine,

Re: [fpc-devel] Warning for sqldb and fpc 2.1.1 users

2006-04-02 Thread Bram Kuijvenhoven
Micha Nelissen wrote: On Sat, 01 Apr 2006 18:33:10 -0300 Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote: And what about recno? Just define it as -1, or do a quick count to get the current record number? Take a look at TCustomSqliteDataset implementation. In its implementation a

[fpc-devel] Warning for sqldb and fpc 2.1.1 users

2006-04-01 Thread Joost van der Sluis
Hi all, In revision 3111 TBufDataset is almost completely rewritten. I've tested as much as I could, but it could be that you encounter problems with sqldb which weren't there before. Please test if everything still works ok, and if not, tell me or submit a bug-report. Further I have a

Re: [fpc-devel] Warning for sqldb and fpc 2.1.1 users

2006-04-01 Thread Micha Nelissen
On Sat, 01 Apr 2006 18:06:31 +0200 Joost van der Sluis [EMAIL PROTECTED] wrote: Further I have a question: now sqldb uses a linked-list record buffer, the RecordCount and RecNo properties are something strange. What should I do with recordcount? I can add a counter which keep track of the

Re: [fpc-devel] Warning for sqldb and fpc 2.1.1 users

2006-04-01 Thread Joost van der Sluis
On Sat, 2006-04-01 at 18:32 +0200, Michael Van Canneyt wrote: In revision 3111 TBufDataset is almost completely rewritten. I've tested as much as I could, but it could be that you encounter problems with sqldb which weren't there before. Please test if everything still works ok, and if

Re: [fpc-devel] Warning for sqldb and fpc 2.1.1 users

2006-04-01 Thread Luiz Americo Pereira Camara
Micha Nelissen escreveu: On Sat, 01 Apr 2006 18:06:31 +0200 Joost van der Sluis [EMAIL PROTECTED] wrote: Further I have a question: now sqldb uses a linked-list record buffer, the RecordCount and RecNo properties are something strange. What should I do with recordcount? I can add a counter

Re: [fpc-devel] Warning for sqldb and fpc 2.1.1 users

2006-04-01 Thread Martin Schreiber
On Saturday 01 April 2006 18.06, Joost van der Sluis wrote: Further I have a question: now sqldb uses a linked-list record buffer, the RecordCount and RecNo properties are something strange. What should I do with recordcount? I can add a counter which keep track of the recordcount. Ie: it

Re: [fpc-devel] Warning for sqldb and fpc 2.1.1 users

2006-04-01 Thread Micha Nelissen
On Sat, 01 Apr 2006 18:33:10 -0300 Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote: And what about recno? Just define it as -1, or do a quick count to get the current record number? Take a look at TCustomSqliteDataset implementation. In its implementation a count is done each