Hi
I am using Crystal Reports 10
I am having two reports
The two reports are got from two different tables
Each employee is given two types of tests
The two tests results are stored in two different tables
emp_Test1 and emp_test2
The employee takes the test1 2 times and takes the test2 5 times
The table structure of emp_test1 is
Empno Test_marks
---------------------
01 10
01 15
02 20
02 20
03 15
03 20
The structure is similar for Emp_test2 table
Empno Test_marks
---------------------
01 14
01 12
01 14
01 10
01 10
02 10
02 15
02 20
02 25
02 11
03 10
03 18
03 17
03 15
03 15
The first report emp_test1 will display the result of Test1
I grouped the results of test1 by empno and got the result
Same is the case with the emp_test2 report
I got it from emp_test2 table
I grouped all the marks for a given employee by empno
The grand total is shown in the group footer grouped by empno
So I have two reports with two different test results
My objective is to link emp_test1 report to emp_test2
so that I can add the cumulative marks of Test1 to test2
for a given employee
For example if the grand total of emp_no 01 for test1 is
25 and grand total of emp_no 01 for test2 is 60... ( as shown above)
then the total marks the employee got is 25 + 60 = 85
How can I make this happen
I am taking emp_test2 as a sub report to emp_test1..but I am unable to pass on values
Actually both the tables contain hundreds of employee records..but for this question.. I am showing only 3 employees .
The total number of employees in both tables are same..but the records vary in ratio of 2 : 5 as test1 is taken 2 times
and test2 is taken 5 times
Could some one please suggest the remedy
Can I pass string of values from report2 to report1
Thanks
I am using Crystal Reports 10
I am having two reports
The two reports are got from two different tables
Each employee is given two types of tests
The two tests results are stored in two different tables
emp_Test1 and emp_test2
The employee takes the test1 2 times and takes the test2 5 times
The table structure of emp_test1 is
Empno Test_marks
---------------------
01 10
01 15
02 20
02 20
03 15
03 20
The structure is similar for Emp_test2 table
Empno Test_marks
---------------------
01 14
01 12
01 14
01 10
01 10
02 10
02 15
02 20
02 25
02 11
03 10
03 18
03 17
03 15
03 15
The first report emp_test1 will display the result of Test1
I grouped the results of test1 by empno and got the result
Same is the case with the emp_test2 report
I got it from emp_test2 table
I grouped all the marks for a given employee by empno
The grand total is shown in the group footer grouped by empno
So I have two reports with two different test results
My objective is to link emp_test1 report to emp_test2
so that I can add the cumulative marks of Test1 to test2
for a given employee
For example if the grand total of emp_no 01 for test1 is
25 and grand total of emp_no 01 for test2 is 60... ( as shown above)
then the total marks the employee got is 25 + 60 = 85
How can I make this happen
I am taking emp_test2 as a sub report to emp_test1..but I am unable to pass on values
Actually both the tables contain hundreds of employee records..but for this question.. I am showing only 3 employees .
The total number of employees in both tables are same..but the records vary in ratio of 2 : 5 as test1 is taken 2 times
and test2 is taken 5 times
Could some one please suggest the remedy
Can I pass string of values from report2 to report1
Thanks