Sorry for the long title.
I have the following code in the On Load of a report which shows multiple records:-
This ends up checking all check boxes in the report if any have "Debit/Credit Card" in the PaymentType field.
What I wanted was to tick Checkboxes for those records where the statement was true, and not tick those where it is false.
Do I need the code in the On Current event? Or do I need more sophisticated code?
Many thanks for your help!
I have the following code in the On Load of a report which shows multiple records:-
Code:
If Me.PaymentType Like "Debit/Credit Card" Then
Me.Check94 = True
Else
Me.Check94 = False
End If
This ends up checking all check boxes in the report if any have "Debit/Credit Card" in the PaymentType field.
What I wanted was to tick Checkboxes for those records where the statement was true, and not tick those where it is false.
Do I need the code in the On Current event? Or do I need more sophisticated code?
Many thanks for your help!