Hi,
I'm joining 3 physical files.
Files 1 and 2 have 1-to-1 data There is only 1 rec in File 2 for the matching rec in File 1.
But File 3 is Order Detail - so it can have multiple records for an Order Number.
The Join view I've created contains duplicate records.
For example Order # 1 requires a qty of 84 for Model A
and a qty of 42 for Model B....
but the join file contains 4 records for this order:
84, 42, 84, 42
I've tried rearranging the order of the files on the JFILE and JFLD specs.... always get duplicate recs in the view.
Tried the UNIQUE keyword, but with no luck.
Any ideas?
Thanks, John
I'm joining 3 physical files.
Files 1 and 2 have 1-to-1 data There is only 1 rec in File 2 for the matching rec in File 1.
But File 3 is Order Detail - so it can have multiple records for an Order Number.
The Join view I've created contains duplicate records.
For example Order # 1 requires a qty of 84 for Model A
and a qty of 42 for Model B....
but the join file contains 4 records for this order:
84, 42, 84, 42
I've tried rearranging the order of the files on the JFILE and JFLD specs.... always get duplicate recs in the view.
Tried the UNIQUE keyword, but with no luck.
Any ideas?
Thanks, John