Using Crystal Reports 8.5 and Oracle tables, I am very weak in the linking of the tables I am using. I have been told to use "Outer Left Joins" on all my links.
Most of my results involve the use of what three "master" tables. LabCase, LabExam and LabRept. A record is created in LabExam each time an assignment is created. The record is copied to LabRept (same structure as LabExam) each time an assignment is completed. So LabExam has only open assignments and LabRept has only closed assignments. Assignments come from cases. When a case is received, a record is created in LabCase. This is the "main" master table since there is only one record for each case. Each case can have many assignments. Each of these three tables have a field called Case Key, which is how I link them. Up until now I link LabCase to LabExam and/or LabRept (left to right). The reason is that I am interested in assignments, either open or completed. However, sometimes we want to look at assignment data based on cases. Therefore we do not want to count multiple assignments.
Should I try linking (L-R) LabExam/LabRept to LabCase??
Most of my results involve the use of what three "master" tables. LabCase, LabExam and LabRept. A record is created in LabExam each time an assignment is created. The record is copied to LabRept (same structure as LabExam) each time an assignment is completed. So LabExam has only open assignments and LabRept has only closed assignments. Assignments come from cases. When a case is received, a record is created in LabCase. This is the "main" master table since there is only one record for each case. Each case can have many assignments. Each of these three tables have a field called Case Key, which is how I link them. Up until now I link LabCase to LabExam and/or LabRept (left to right). The reason is that I am interested in assignments, either open or completed. However, sometimes we want to look at assignment data based on cases. Therefore we do not want to count multiple assignments.
Should I try linking (L-R) LabExam/LabRept to LabCase??