I tried what you suggested, and found that acViewReport previewed the report without printing it. However, it also refuses to read the Detail_Format subroutine, and I need that to change the colors of the fonts used based on another variable -
Code:
Option Compare Database
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
On Error GoTo Detail_Format_Error
Dim WasSold As Boolean
Dim shadedColor As String
WasSold = Check37.Value
shadedColor = "#000000"
If (WasSold) Then
shadedColor = "#0072BC"
End If
Me.Section(acDetail).BackColor = shadedColor
MsgBox "Alert alter!"
Detail_Format_Exit:
Exit Sub
Detail_Format_Error:
MsgBox "Error " & Err.Number & ": " & Err.Description
Resume Detail_Format_Exit
End Sub
But the subroutine is never called.