G
Guest
Hello,
I have placed the following code in the on current event of a form:
Private Sub Form_Current()
If IsNull(Me.DRM_Id) Then
Me.Drawing_Management_DRM_Ref_Doc_SubFrm.Visible = False
Else
Me.Drawing_Management_DRM_Ref_Doc_SubFrm.Visible = True
End If
End Sub
And this so as to ensure that the form are not available to the user until
they enter the bare minumum of required information. However, I want to
render the subfrm visible the second they enter any information in any field
of the form. I thought the On Dirty event would achieve this but I can't
seem to get it to work?! Any ideas?
I had used the following coding for the on dirty event:
If Me.Dirty Then
Me.Drawing_Management_DRM_Ref_Doc_SubFrm.Visible = True
End If
Thank you,
Daniel
I have placed the following code in the on current event of a form:
Private Sub Form_Current()
If IsNull(Me.DRM_Id) Then
Me.Drawing_Management_DRM_Ref_Doc_SubFrm.Visible = False
Else
Me.Drawing_Management_DRM_Ref_Doc_SubFrm.Visible = True
End If
End Sub
And this so as to ensure that the form are not available to the user until
they enter the bare minumum of required information. However, I want to
render the subfrm visible the second they enter any information in any field
of the form. I thought the On Dirty event would achieve this but I can't
seem to get it to work?! Any ideas?
I had used the following coding for the on dirty event:
If Me.Dirty Then
Me.Drawing_Management_DRM_Ref_Doc_SubFrm.Visible = True
End If
Thank you,
Daniel