I am using CR 8.5 with SQL 2000 backend. I am facing a problem of getting duplicate records. I have "select distinct records" checked. Basically my joins I think are causing the problem.
we have a participant table with 2 rows.
id=1, name=smith
id=2, name=chaudhry
we have a formula table with 4 rows
id=1, formula="Productivity Commission/Total"
id=1, formula="Productivity Commission/Team Pool"
id=2, formula="Productivity Commission/Total"
id=2, formula="Productivity Commission/Team Pool"
we're joining both these tables on ID (equal join)
so we end up with 4 rows..the participant info gets duplicated.
participant.id=1, participant.name=smith, formula.id=1,
formula.formula="Productivity Commission/Total"
participant.id=1, participant.name=smith, formula.id=1,
formula.formula="Productivity Commission/Team Pool"
participant.id=1, participant.name=chaudhry, formula.id=2,
formula.formula="Productivity Commission/Total"
participant.id=1, participant.name=chaudhry, formula.id=2,
formula.formula="Productivity Commission/Team Pool"
Is it possible to get around this problem using the record selection? Or is there any other way of resolving this problem?
Thanks in Advance.
Kchaudhry
we have a participant table with 2 rows.
id=1, name=smith
id=2, name=chaudhry
we have a formula table with 4 rows
id=1, formula="Productivity Commission/Total"
id=1, formula="Productivity Commission/Team Pool"
id=2, formula="Productivity Commission/Total"
id=2, formula="Productivity Commission/Team Pool"
we're joining both these tables on ID (equal join)
so we end up with 4 rows..the participant info gets duplicated.
participant.id=1, participant.name=smith, formula.id=1,
formula.formula="Productivity Commission/Total"
participant.id=1, participant.name=smith, formula.id=1,
formula.formula="Productivity Commission/Team Pool"
participant.id=1, participant.name=chaudhry, formula.id=2,
formula.formula="Productivity Commission/Total"
participant.id=1, participant.name=chaudhry, formula.id=2,
formula.formula="Productivity Commission/Team Pool"
Is it possible to get around this problem using the record selection? Or is there any other way of resolving this problem?
Thanks in Advance.
Kchaudhry