Thanks to both of you. That is exactly what I needed. My problem was that the W2 forms have narrow top and bottom margins. I calculated the necessary space, then used the following code:
If Me.cnum Mod 2 = 0 Then
Me.GroupFooter0.Visible = False
Else
Me.GroupFooter0.Visible = True
End If
This prevented the second form on each page from spilling over onto the next form, and still kept all the detail together.
Thanks again.