Article ID: 120842
Article Last Modified on 7/5/2002
Option Compare Database
Dim cLines As Integer
Const cMaxLine=5
Sub Report_Open (Cancel As Integer)
cLines = 0
End Sub
Sub Detail1_Format (Cancel As Integer, FormatCount As Integer)
If cLines Mod (cMaxLine+1) = 0 Then
Me.NextRecord = False
Me.PrintSection = False
End If
cLines = cLines + 1
End Sub
Keywords: kbhowto kbusage KB120842