I have the following code set up to open a report in print preview. I want to add coding to it to only print the first page though. Can anyone help?
Code:Private Sub cmdvwandprnt_Click() Dim strWhere As String If Me.Dirty Then 'save any edits. Me.Dirty = False End If If Me.NewRecord Then 'Check there is a record to print MsgBox "Select a record to Print" Else strWhere = "[ID] = " & Me.ID DoCmd.OpenReport "rpt_Owner Operators", acViewPreview, , strWhere End If End Sub