Hi,
I have two tables containg the data like this:
Table1:
EMP_ID MONTH BONUS
1 July 200
1 July 100
1 Aug 300
2 May 300
3 July 400
3 Dec 900
Table2:
EMP_ID Month Comments
1 July Happy
1 July OK
1 Aug Who Cares
2 May Satisfied
Now I have to display the data like this
EMP_ID MONTH BONUS COMMENTS
1 July 300
Happy
OK
1 Aug 300
Who Cares
2 May 300
Satisfied
3 July 400
3 Dec 900
A join on these two tables wouldn't produce the proper results beacuse I have to do a sum on 'BONUS' field. Is subreport the only option to achieve this?
Any pointers regarding this will be of great help.
Thanks,
Nikhil
I have two tables containg the data like this:
Table1:
EMP_ID MONTH BONUS
1 July 200
1 July 100
1 Aug 300
2 May 300
3 July 400
3 Dec 900
Table2:
EMP_ID Month Comments
1 July Happy
1 July OK
1 Aug Who Cares
2 May Satisfied
Now I have to display the data like this
EMP_ID MONTH BONUS COMMENTS
1 July 300
Happy
OK
1 Aug 300
Who Cares
2 May 300
Satisfied
3 July 400
3 Dec 900
A join on these two tables wouldn't produce the proper results beacuse I have to do a sum on 'BONUS' field. Is subreport the only option to achieve this?
Any pointers regarding this will be of great help.
Thanks,
Nikhil