Hi all!
I have a problem using Zeos 7 version with D2010.
I did a master/detail connection, but when I try to insert and cancel a record on master table, the detail table does not resync detail records.
i tried close and open detail table, but it doesn't work.
Anybody can explain me why?
NilSer
PS: sorry about my english.
Zeos 7, Master/Detail problem
Moderators: gto, EgonHugeist, olehs
Hey NilSer,
I use Master/Detail in my big App (93 Tables) with Zeos 7. You must define Index for both Tables. Use the Field 'LinkedFields' in the Detail Table for the Index Field.
Example:
Table1:(Master)
Field 1: (int) id [use as index or primary key]
Field 2: (varchar[]) text
Field 3: ...
Table2:(Detail)
Field 1: (int)d_id [use as index or primary key]
Field 2: (int)master_id (!!!!)
Field 3: ...
TZTable1:(Master)
TableName = Master
...
TZTable2:(Detail)
IndexFieldName = id asc
LinkedFields=master_id (!!!)
MasterField=id (from Table Master !)
Master_Source= DataSource from Master like TDataSet
...
macfsr
I runs.
I use Master/Detail in my big App (93 Tables) with Zeos 7. You must define Index for both Tables. Use the Field 'LinkedFields' in the Detail Table for the Index Field.
Example:
Table1:(Master)
Field 1: (int) id [use as index or primary key]
Field 2: (varchar[]) text
Field 3: ...
Table2:(Detail)
Field 1: (int)d_id [use as index or primary key]
Field 2: (int)master_id (!!!!)
Field 3: ...
TZTable1:(Master)
TableName = Master
...
TZTable2:(Detail)
IndexFieldName = id asc
LinkedFields=master_id (!!!)
MasterField=id (from Table Master !)
Master_Source= DataSource from Master like TDataSet
...
macfsr
I runs.