I'm displaying grades for student records. They sit a lower year (AS ...), then choose to continue certain courses to the upper year (A ...). This means that I have the following dataset for each student:
+----------------------+-------+-----------+-----+
| Name | Grade | End | Code|
+----------------------+-------+-----------+-----+
| A Business | C | 06-Jul-12 | BUS |
| A English | B | 06-Jul-12 | ELL |
| A History | C | 06-Jul-12 | HIS |
| AS Business Studies | E | 08-Jul-11 | BUS |
| AS Critical Thinking | B | 08-Jul-11 | CRT | <-- lower year only
| AS English | D | 08-Jul-11 | ELL |
| AS History | F | 08-Jul-11 | HIS |
+----------------------+-------+-----------+-----+
For each student record I only want to display the grades sat at both A and AS level. In the above example that would be suppressing AS Critical Thinking:
A Business | C
A English | B
A History | C
AS Business Studies | E
AS English | D
AS History | F
Without editing the underlying dataset is there a way that Crystal Reports can suppress those records that only appear as AS grades? For example:
If Code not present in records AND Name starts with AS
Suppress
Else
Display