i'm trying to access the value of a checkbox I have in a separate form. I have no problem accessing the checkbox information from within it's own form using code...
If Not IsNull(Check43) Then
If Check43 Then
DoCmd.OpenQuery "Insert_Query"
End If
End If
But I can't figure out how to access the value of "Check43" in another form. I thought something like below would work...
Dim frm As Form, ctl As Control
Set frm = Forms!Relevant_Application
Set ctl = frm!Check43
If Not IsNull(ctl) Then
If ctl Then
DoCmd.OpenQuery "Insert_Query"
End If
End If
but even when the checkbox is checked, it doesn't work. It doesn't throw an error, it just skips over the function.