D
DS
I have a Line in a Group Footer.
I want to print the line when the field PDPrepGroupID =0
if it's not 0 I don't want to print it. Heres what I have so far.
Private Sub GroupFooter0_Print(Cancel As Integer, PrintCount As Integer)
If Me.PDPrepGroupID = 0 Then
Me.PrintSection = False
Me.NextRecord = True
End If
End Sub
I have this in the OnPrint Property of the Group Footer.
I keep getting an Error Message that PDPrepGroupID is not found.
Any Help Appreciated.
Thanks
DS
I want to print the line when the field PDPrepGroupID =0
if it's not 0 I don't want to print it. Heres what I have so far.
Private Sub GroupFooter0_Print(Cancel As Integer, PrintCount As Integer)
If Me.PDPrepGroupID = 0 Then
Me.PrintSection = False
Me.NextRecord = True
End If
End Sub
I have this in the OnPrint Property of the Group Footer.
I keep getting an Error Message that PDPrepGroupID is not found.
Any Help Appreciated.
Thanks
DS