View Full Version : Getting hidden subform to appear???


WebFaktor
05-22-2002, 01:06 PM
Private Sub MModule_Time_Exit(Cancel As Integer)
Me![sfrm2].Form.Visible = True
End Sub


For the on exit event for a field within a subform (sfrm1)I have the above code that should enable another subform to routinely pop up.

The error messages keep telling me they cannot find the field I describe when I'm trying to describe a subform???

llkhoutx
05-22-2002, 01:14 PM
It's not that yur subform is hidden. If's its there you can reference it. Use the expression builder to reference it. Manually construction is too tedius some time.

Oldsoftboss
05-24-2002, 09:48 PM
Just tested this on an old db.
All I did was create a button and then put in the code nameofthesubform.visible=false
be sure the name you are using is the correct one
HTH
Dave