If Statement From sub-form to Main Form

  • Thread starter Thread starter Dave Elliott
  • Start date Start date
D

Dave Elliott

This code is ran from the on current event of a sub-form named Vendor_List
Main form where text415 and text417 are is named TimeCards
Code does not work?


If Forms!frmTimeCards.Text415 > 0 And Forms!frmTimeCards.Text417 = 0 Then
MsgBox "Why is more material being put on this job"
End If
 
if me.parent!text415 > 0 and me.parent!text417 = 0 then ...


| This code is ran from the on current event of a sub-form named Vendor_List
| Main form where text415 and text417 are is named TimeCards
| Code does not work?
|
|
| If Forms!frmTimeCards.Text415 > 0 And Forms!frmTimeCards.Text417 = 0 Then
| MsgBox "Why is more material being put on this job"
| End If
|
|
 
Back
Top