Value Property Example
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
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
FakePre-817efd4449d047ea83f15b5efd6c1e05-9a12b963e967403ea6fef163142f51dd