S smelly Registered User. Local time Today, 00:05 Joined May 23, 2002 Messages 44 Aug 12, 2002 #1 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
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
pdx_man Just trying to help Local time , 17:05 Joined Jan 23, 2001 Messages 1,347 Aug 12, 2002 #2 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
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
S smelly Registered User. Local time Today, 00:05 Joined May 23, 2002 Messages 44 Aug 12, 2002 #3 Thanks PDX_MAN! Exactly what I needed.