Hello,
I am modifying a report on a system that I inherited and am having a problem with the print preview.
The query that the report draws its data from returns six records... but the report only shows the first page of data, and I don't know why...
thoughts?
Is there some property or setting in a preview or report that calls only the first page of the report to be rendered?
Help!
Thanks,
-Matt G.
I am modifying a report on a system that I inherited and am having a problem with the print preview.
The query that the report draws its data from returns six records... but the report only shows the first page of data, and I don't know why...
thoughts?
Code:
On Error GoTo Err_Preview_Click
Dim DocName As String
Dim f As Form
Dim xctr As Integer
If IsNull(Me![report name]) Then
MsgBox "A Report must be selected"
Exit Sub
End If
Set f = Me
DocName = Me![report name]
'DoCmd.OpenReport DocName, A_PREVIEW
DoCmd.OpenReport DocName, acViewPreview
DoCmd.SelectObject A_REPORT, DocName
Is there some property or setting in a preview or report that calls only the first page of the report to be rendered?
Help!

Thanks,
-Matt G.