Hi,
I have a report with a department footer with sums for dept 1, 2 & 3. Users want to add a sub total of dept 1 & 2 after dept 2 group footer. I added a DeptKind field in department code table, and set DeptKind of dept 1 & 2 as A, and DeptKind of dept3 as B.
Now I set a group footer of DeptKind and it sums 1 & 2 as expected, but of course, it will show up after dept3 as well.
Is there anyway to show group footer only when DeptKind=A?
When I put code in OnPrint of the group footer (if me.deptkind="A" then me.groupfooter.visible=false), it worked on screen, but all of the group footer disappears when printed.
Any suggestions would be highly appreciated!
Thanks!
Yoko
I have a report with a department footer with sums for dept 1, 2 & 3. Users want to add a sub total of dept 1 & 2 after dept 2 group footer. I added a DeptKind field in department code table, and set DeptKind of dept 1 & 2 as A, and DeptKind of dept3 as B.
Now I set a group footer of DeptKind and it sums 1 & 2 as expected, but of course, it will show up after dept3 as well.
Is there anyway to show group footer only when DeptKind=A?
When I put code in OnPrint of the group footer (if me.deptkind="A" then me.groupfooter.visible=false), it worked on screen, but all of the group footer disappears when printed.
Any suggestions would be highly appreciated!
Thanks!
Yoko