Easy checkbox question...

smelly

Registered User.
Local time
Today, 00:05
Joined
May 23, 2002
Messages
44
I am trying to print a form on Close if a box is checked. What is the best way to go about doing this?
Thanks,
Smelly
 
You are better off to have a report that emulates the form you are wanting to print. Forms just don't print that well.

Code:
Private Sub Form_Close()

    If Me.TheCheckBox = True Then
        DoCmd.OpenReport "TheReport", acViewNormal
    End If

End Sub
 
Thanks PDX_MAN! Exactly what I needed.
 

Users who are viewing this thread

Back
Top Bottom