G
Guest
Hello,
i'm having some problems with this code. i'm trying to see if a subform is
dirty from another subform in the same form.
here is the code
If Forms!ProctorForm!ProctorSbfrm1.Form.Dirty = True Then
msgbox"Yes"
else
msgbox"no"
End if
ProctorForm is the main form and proctorSbfrm1 is the subform I want to see
if it is dirty. Proctorsbfrm2 is the subform i'm running the code from.
I get an error saying it cant find the subform.
Any help would be great
Thank you
David
i'm having some problems with this code. i'm trying to see if a subform is
dirty from another subform in the same form.
here is the code
If Forms!ProctorForm!ProctorSbfrm1.Form.Dirty = True Then
msgbox"Yes"
else
msgbox"no"
End if
ProctorForm is the main form and proctorSbfrm1 is the subform I want to see
if it is dirty. Proctorsbfrm2 is the subform i'm running the code from.
I get an error saying it cant find the subform.
Any help would be great
Thank you
David