Is this by Microsofts' design?
My sub-report contains:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me.Parent.[PageBreak].Visible = RecCount Mod 10 = 0
End Sub
I put a breakpoint above and the code is being executed but there is no affect in the parent form where the pagebreak is lives. No error is generated either. I even tried to set the caption of a label on the main report from this subroutine, again nothing happens.
Thoughts?
Thanks,
iAmDmAn
My sub-report contains:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me.Parent.[PageBreak].Visible = RecCount Mod 10 = 0
End Sub
I put a breakpoint above and the code is being executed but there is no affect in the parent form where the pagebreak is lives. No error is generated either. I even tried to set the caption of a label on the main report from this subroutine, again nothing happens.
Thoughts?
Thanks,
iAmDmAn