F
F1stman
Hello all,
I am having trouble with a script to check if data has been entered in a
subform and then check the values to make sure they are correct. This script
worked in another form which is almost exactly the same. I get the message,
"Run Time Error '2447'; There is an invalid use of the . (dot) or ! operator
or invalid parenthesies." I have looked at this for about an hour and tried a
variety of things. What is my problem? Please let me know. Thanks, Adam Kemp
Private Sub VerifyandClose_Click()
If (IsNull(EntryLedgerListing_AllocationForm.Form![CurrentSum]) Or
EntryLedgerListing_AllocationForm.Form![CurrentSum] <> 0) Then
MsgBox ("Attention: Invoice and entry amounts do not balance or no entry has
been made.")
End If
End Sub
I am having trouble with a script to check if data has been entered in a
subform and then check the values to make sure they are correct. This script
worked in another form which is almost exactly the same. I get the message,
"Run Time Error '2447'; There is an invalid use of the . (dot) or ! operator
or invalid parenthesies." I have looked at this for about an hour and tried a
variety of things. What is my problem? Please let me know. Thanks, Adam Kemp
Private Sub VerifyandClose_Click()
If (IsNull(EntryLedgerListing_AllocationForm.Form![CurrentSum]) Or
EntryLedgerListing_AllocationForm.Form![CurrentSum] <> 0) Then
MsgBox ("Attention: Invoice and entry amounts do not balance or no entry has
been made.")
End If
End Sub