I think two tables should suffice: ZKCOST and ZPRECMPL.
So you would have
ZKCOST zkcost_id, zkcost_value
and
ZPRECMPL zkcost_id, zprecmpl_id, zprecmpl_value
where zkcost_id is the primary key for ZKCOST and zkcost_id,
zprecmpl_id together are the primary key for ZPRECMPL and zkcost_id is
a foreign key from ZPRECMPL to ZKCOST.
That will work won't it?
-Aaron
On 6/12/06, Phillip Smith <phillips@weatherbeeta.com.au> wrote:
> So you're suggesting creating a child table for each SYS record? Ie, a table called "ZPRECMPL" etc?