I have a main form with two separate sub forms. I would like to hide or show the second sub form from criteria in the first sub form. The code is from the first sub forms Current event. The main form is called frm_die_tag and the two sub forms are called zfrm_die_tags_1 and zfrm_die_tags_2. The zfrm_die_tags_2 is the one I am trying to hide or show.
Here is a snippet of code I am using.
Private Sub Form_Current()
If Me.die_tag_uom < 0 Then
Form_frm_die_tag.zfrm_die_tags_2.Visible = True
Else
Form_frm_die_tag.zfrm_die_tags_2.Visible = False
End If
End Sub
Thanks,