Re: Hiding A Field
- From: "Jim" <jim.berry@xxxxxxxxx>
- Date: 17 Feb 2007 12:20:50 -0800
On Feb 17, 3:15 pm, "Jim" <jim.be...@xxxxxxxxx> wrote:
I'm trying to have a field trigger another field's presence. I have a
field that holds a Y or N. I need for when it show N to not show the
field below it and otherwise to show all the fields.
A screenshot of the undesired producct can be obtained from me if you
have questions.
I forgot to mention the coding I have done ...
Private Sub HideBox()
'set focus on the InAContainer field aka if it is in a container
Me.InAContainer.SetFocus
'then test for results and make field invisible if it says no
If Me.InAContainer.Text = "N" Then
Me.EqContainerStoredIn.Visible = False
Else
Me.EqContainerStoredIn.Visible = True
End If
End Sub
Private Sub Form_Load()
Call HideBox
End Sub
This is in Access 2000 too. I'm not all caught up on my office
software.
.
- Follow-Ups:
- Re: Hiding A Field
- From: fredg
- Re: Hiding A Field
- References:
- Hiding A Field
- From: Jim
- Hiding A Field
- Prev by Date: Hiding A Field
- Next by Date: Re: Hiding A Field
- Previous by thread: Hiding A Field
- Next by thread: Re: Hiding A Field
- Index(es):
Relevant Pages
|