Hi all,
I am working with a report that has Attendance Values printing at the bottom of each student's record. I have been asked to move the Attendance Values up to the Page Header. I created a Variable and I get either 1 of 2 results depending on if I use WhilePrintingRecords or WhileReadingRecords in my formula; either the last student's Attendance Values print in the Page Header for each student or the student's Attendance Values print in the Page Header for the next student (ex. the first student has no attendance in the Page Header; the second student has the 1st student's Attendance Values in the Page Header; etc...)
This report came with the software. There is one Group {Data.DefaultStudentSort}. The Attendance is in Detail i with a Section Suppress {Data.Kind} <> {@DetailTypeAttendance}
My formulas are...
1. (placed in Detail i)
WhilePrintingRecords;
Global StringVar Course;
Global StringVar GradeItem;
Global StringVar TotalCredit;
Global StringVar AttnValues;
//WhileReadingRecords;
If {Data.Kind} = {@DetailTypeCourseName} then Course :={Data.P1};
If {Data.Kind} = {@DetailTypeGradeItem} then GradeItem :={Data.P1};
If {Data.Kind} = {@DetailTypeTotalCredits} then TotalCredit :={Data.P1};
If {Data.Kind} = {@DetailTypeAttendance} then AttnValues :={Data.P1};
2. (placed in the Page Header)
WhilePrintingRecords;
Global StringVar AttnValues;
CR 9.0
Thanks for your help!
Hillary
I am working with a report that has Attendance Values printing at the bottom of each student's record. I have been asked to move the Attendance Values up to the Page Header. I created a Variable and I get either 1 of 2 results depending on if I use WhilePrintingRecords or WhileReadingRecords in my formula; either the last student's Attendance Values print in the Page Header for each student or the student's Attendance Values print in the Page Header for the next student (ex. the first student has no attendance in the Page Header; the second student has the 1st student's Attendance Values in the Page Header; etc...)
This report came with the software. There is one Group {Data.DefaultStudentSort}. The Attendance is in Detail i with a Section Suppress {Data.Kind} <> {@DetailTypeAttendance}
My formulas are...
1. (placed in Detail i)
WhilePrintingRecords;
Global StringVar Course;
Global StringVar GradeItem;
Global StringVar TotalCredit;
Global StringVar AttnValues;
//WhileReadingRecords;
If {Data.Kind} = {@DetailTypeCourseName} then Course :={Data.P1};
If {Data.Kind} = {@DetailTypeGradeItem} then GradeItem :={Data.P1};
If {Data.Kind} = {@DetailTypeTotalCredits} then TotalCredit :={Data.P1};
If {Data.Kind} = {@DetailTypeAttendance} then AttnValues :={Data.P1};
2. (placed in the Page Header)
WhilePrintingRecords;
Global StringVar AttnValues;
CR 9.0
Thanks for your help!
Hillary