Hi All,
I am on Crystal 11 and have a question about getting the date that an employee attended a training course.
The training courses are on a different table than the employee and there is a one to many relationship between employee and training history. This is what the data looks like:
(Report Header)
Employee# Name Class 1 Class 2 Class 3 Class 4
(Details)
1 Sally 1/15/2000
1 Sally 3/1/2001
1 Sally 4/1/2002
1 Sally 6/1/2006
1 Sally 5/1/2005
(Group Footer)
1 Sally 5/1/2005
I have created some formulas where if the class=class 1 then return the date that is how I got the info to appear under the columns. I then tried to group the data by employee and put all of the info in the group footer, and then put the following formula in the group footer
IF Cstr((({EMPLOYEE.EMPLOYEE}))) =Cstr((({TRAINING.EMPLOYEE})))
AND {TRAINING.COURSE} = 'Class 1'
THEN {TRAINING.DATE_COMPLETED}
It worked for class 1 so then i added another formula where
IF Cstr((({EMPLOYEE.EMPLOYEE}))) =Cstr((({TRAINING.EMPLOYEE})))
AND {TRAINING.COURSE} = 'Class 2'
THEN {TRAINING.DATE_COMPLETED}
This is where the problem is. For some strange reason, the class 2 info is not showing up in the group footer even though I added it to the Group Footer.
I was wondering if anyone had any ideas as to why this would be happening.
Any help would be greatly appreciated.
Thanks
I am on Crystal 11 and have a question about getting the date that an employee attended a training course.
The training courses are on a different table than the employee and there is a one to many relationship between employee and training history. This is what the data looks like:
(Report Header)
Employee# Name Class 1 Class 2 Class 3 Class 4
(Details)
1 Sally 1/15/2000
1 Sally 3/1/2001
1 Sally 4/1/2002
1 Sally 6/1/2006
1 Sally 5/1/2005
(Group Footer)
1 Sally 5/1/2005
I have created some formulas where if the class=class 1 then return the date that is how I got the info to appear under the columns. I then tried to group the data by employee and put all of the info in the group footer, and then put the following formula in the group footer
IF Cstr((({EMPLOYEE.EMPLOYEE}))) =Cstr((({TRAINING.EMPLOYEE})))
AND {TRAINING.COURSE} = 'Class 1'
THEN {TRAINING.DATE_COMPLETED}
It worked for class 1 so then i added another formula where
IF Cstr((({EMPLOYEE.EMPLOYEE}))) =Cstr((({TRAINING.EMPLOYEE})))
AND {TRAINING.COURSE} = 'Class 2'
THEN {TRAINING.DATE_COMPLETED}
This is where the problem is. For some strange reason, the class 2 info is not showing up in the group footer even though I added it to the Group Footer.
I was wondering if anyone had any ideas as to why this would be happening.
Any help would be greatly appreciated.
Thanks