I have an strange Issue here with tdbf and master/detail.
I have 2 sorts of Master/Detail relationships in this project.
at first with FIELD based indexes:
At example i haven an customers table and and customercontact table.
both have an Field ACCOUNTNO over what the master / detail relationship is
added. this field is indexed in customercontact.

Master/Detail works only sometimes. Sometimes it works great and sometimes i
see all records in the customercontact table.
I cant see any differences. when i delete the tables after it hasnt been
worked and recreate them it works and sometimes the other direction.

The same bug occours with indexes with more fields. But there it occours
oftener. I have some tables with indexes in this way :

AddIndex('ARTICLENO','ARTICLENO+VERSION+LANGUAGE',[ixPrimary,ixUnique]);
MasterFields := 'ARTICLENO+VERSION+LANGUAGE';

there this problem occours very often.
I use tdbf from fpc svn.

regards
Christian


_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to