D
Dave Elliott
I have (2) sub-forms on my main form, the main form is named TimeCards
the sub that I wish to check the criteria on is named TimeCardPaymentSub
It is in this form that I wish to check criteria
The next sub-form is named Vendor_List
It is on the form on the first control after the update event that I wish
the code to run
If the control on the sub-form TimeCardPaymentSub (Payment) >0
and If the control (Balance) on the same sub-form <=0 Then
msgbox
If ("Forms!TimeCards![TimeCardPaymentSub].Form!Payment") > 0 And
("Forms!TimeCards![TimeCardPaymentSub]!Balance") <= 0 Then
MsgBox "Why is there more material on this job?"
End If
the sub that I wish to check the criteria on is named TimeCardPaymentSub
It is in this form that I wish to check criteria
The next sub-form is named Vendor_List
It is on the form on the first control after the update event that I wish
the code to run
If the control on the sub-form TimeCardPaymentSub (Payment) >0
and If the control (Balance) on the same sub-form <=0 Then
msgbox
If ("Forms!TimeCards![TimeCardPaymentSub].Form!Payment") > 0 And
("Forms!TimeCards![TimeCardPaymentSub]!Balance") <= 0 Then
MsgBox "Why is there more material on this job?"
End If