Code:
If IsNull(Me![Text77]) And Me.Check107 = False And Me.Check111 = False Then MsgBox "Enter the number of copies to print and try again. " Exit Sub Else DoCmd.PrintOut acPrintAll, , , , Me.Text77 End If
If IsNull(Me![Text77]) And Me.Check107 = False And Me.Check111 = False Then MsgBox "Enter the number of copies to print and try again. " Exit Sub Else DoCmd.PrintOut acPrintAll, , , , Me.Text77 End If
If IsNull(Me![Text77]) Then MsgBox "Enter the number of copies to print and try again. " Exit Sub Else DoCmd.PrintOut acPrintAll, , , , Me.Text77 End If
if Me.Check107 = False And Me.Check111 = False Then MsgBox "Please select the type of printout you want. " Exit Sub end if If len(Me![Text77])=0 Then MsgBox "Enter the number of copies to print and try again. " Exit Sub Else DoCmd.PrintOut acPrintAll, , , , Me.Text77 End If
if Me.Check107 = False And Me.Check111 = False Then MsgBox "Please select the type of printout you want. " Exit Sub end if If len(Me![Text77])=0 Then MsgBox "Enter the number of copies to print and try again. " Exit Sub Else DoCmd.PrintOut acPrintAll, , , , Me.Text77 End If
'The outputs for Check.107 and Check.111 come before this. If Len(Me![Text77]) = 0 And Me.Check107 = False And Me.Check111 = False Then MsgBox "Please select the type of printout you want. " Exit Sub Else If Len(Me![Text77]) = 0 Then Exit Sub End If DoCmd.PrintOut acPrintAll, , , , Me.Text77 End If End If
Comment