I need to compare the values in an object on the main form to an object on the subform. The main form (Donors) has an object called TotalCommitment. The subform (donations) has an object called Total. The following code gives me error message 2450. MSAccess cannot find a form named donations.
If Forms!Donations!Total = Me!TotalCommitment Then
Me!BillMe = False
else
Me!BillMe = True
End If
The spelling is all correct. The forms are open. I suspect that I am missing something simple.
Thanks!
JimRich
If Forms!Donations!Total = Me!TotalCommitment Then
Me!BillMe = False
else
Me!BillMe = True
End If
The spelling is all correct. The forms are open. I suspect that I am missing something simple.
Thanks!
JimRich