If Statement From sub-form to Main Form

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
 
D

DebbieG

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
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top