I am trying to get my report to print an inspection date in the Group Footer 1 row. My problem is I need a date from a specific row number within a grouping.
The below example is a piece of my report. I created a formula in the section expert for GH2 to suppress RunningTotal greater than 5 because I am only interested in looking at the 5 latest inspections (which is why I ordered the Date Inspected in decending order) regardless of how many inspections there may be. As you can see in the GF1 row there are 7 lots inspected the last two are suppressed.
RTotal | Date Insp. | Inspection Status | Part Number
GH2 1 | 20100324 | REJECT | XXXX
| | |
GH2 2 | 20100301 | REJECT | XXXX
| | |
GH2 3 | 20090918 | ACCEPT | XXXX
| | |
GH2 4 | 20090903 | REJECT | XXXX
| | |
GH2 5 | 20090820 | REJECT | XXXX
| | |
GF1 | 20090514 | 7 LOTS INSPECTED |
I created a running total in an attempt to give each inspection a line number because I only want the Date Insp. in line number 5 to display in the GF1 row. I don't know how to tell Crystal Reports to look at the date in line 5 and display it in group footer 1.
I tried using the "Insert Summary" and chose "Min" for the Date Inspected field but it displayed 20090514 which is the min value of all seven rows including the suppressed data I am not interested in. I only want it to look at the "min" of what is displayed or tell Crystal directly what line number I want.
I hope I was clear enough.
Thanks
The below example is a piece of my report. I created a formula in the section expert for GH2 to suppress RunningTotal greater than 5 because I am only interested in looking at the 5 latest inspections (which is why I ordered the Date Inspected in decending order) regardless of how many inspections there may be. As you can see in the GF1 row there are 7 lots inspected the last two are suppressed.
RTotal | Date Insp. | Inspection Status | Part Number
GH2 1 | 20100324 | REJECT | XXXX
| | |
GH2 2 | 20100301 | REJECT | XXXX
| | |
GH2 3 | 20090918 | ACCEPT | XXXX
| | |
GH2 4 | 20090903 | REJECT | XXXX
| | |
GH2 5 | 20090820 | REJECT | XXXX
| | |
GF1 | 20090514 | 7 LOTS INSPECTED |
I created a running total in an attempt to give each inspection a line number because I only want the Date Insp. in line number 5 to display in the GF1 row. I don't know how to tell Crystal Reports to look at the date in line 5 and display it in group footer 1.
I tried using the "Insert Summary" and chose "Min" for the Date Inspected field but it displayed 20090514 which is the min value of all seven rows including the suppressed data I am not interested in. I only want it to look at the "min" of what is displayed or tell Crystal directly what line number I want.
I hope I was clear enough.
Thanks