If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Conditional Group Footer
I want to design a report/subreport that displays the group footer only if
there is more than one record in the group. I have had success setting variables to count records in the group and then setting an OnFormat event for the group footer, but I have naming problems when I try to insert the resulting report as a subreport in another report. Is there a simple built-in function to hide the group footer when there is only one record in the group? |
#2
|
|||
|
|||
Since you have managed to count the records, you could put on Detail_Print GroupFooter1.Visible = ([TextCount] 1) Change: - GroupFooter1 for the name of the footer section - TextCount for the name of your TextBox with the counter of rows "landeye" wrote: I want to design a report/subreport that displays the group footer only if there is more than one record in the group. I have had success setting variables to count records in the group and then setting an OnFormat event for the group footer, but I have naming problems when I try to insert the resulting report as a subreport in another report. Is there a simple built-in function to hide the group footer when there is only one record in the group? |
#3
|
|||
|
|||
Works for me. Thanks!
"landeye" wrote: I want to design a report/subreport that displays the group footer only if there is more than one record in the group. I have had success setting variables to count records in the group and then setting an OnFormat event for the group footer, but I have naming problems when I try to insert the resulting report as a subreport in another report. Is there a simple built-in function to hide the group footer when there is only one record in the group? |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hide group footer based on field value | Paul Kraemer | Setting Up & Running Reports | 1 | January 31st, 2005 09:13 PM |
Hide group footer based on field value | Paul Kraemer via AccessMonster.com | Setting Up & Running Reports | 0 | January 31st, 2005 07:04 PM |
Help my group footer is psychotic!!! | Jen | Setting Up & Running Reports | 2 | June 8th, 2004 04:11 PM |