The following example shows how you can call one of two procedures, depending whether the Credit check box on the Customers form is selected or cleared.
Sub PaymentType()
If Forms!Customers!Credit.Value = False Then
ProcessCash
ElseIf Forms!Customers!Credit.Value = True Then
ProcessCredit
End If
End Sub