G
Ghost
How do you print preview a filtered report. I wrote the following code but
it does not work. Any assitstance is greatly appreciated: My form is
called: BONDS and my report is called BONDS.
___________________________________________________________
If Not IsNull(Me.Filter) Then
DoCmd.OpenReport "Bonds", A_PREVIEW, , Me.Form.BONDS
DoCmd.Maximize 'Maximize the report window.
Else
MsgBox "Apply a filter to the form first"
End If
_________________________________________________________
it does not work. Any assitstance is greatly appreciated: My form is
called: BONDS and my report is called BONDS.
___________________________________________________________
If Not IsNull(Me.Filter) Then
DoCmd.OpenReport "Bonds", A_PREVIEW, , Me.Form.BONDS
DoCmd.Maximize 'Maximize the report window.
Else
MsgBox "Apply a filter to the form first"
End If
_________________________________________________________