Hiding a field in Access 2000 using "Code Builder"
- From: "Jet needs your help" <Jet needs your help@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 11 Aug 2005 06:44:03 -0700
Hi I hope someone can help
Im am trying to hide a field on a Access Form, but assign a command button
to make the field visible so that when i click on the command button I am
asked for a password .
This is the what I am trying to use but its not working
Private Sub Command135_Click()
Sub hide()
Dim Password As String
Dim ans As String
Password = "******"
ans = InputBox("Enter Password")
If ans = Password Then
Documents.Visible = True
Else
Documents.Visible = False
End If
End Sub
can someone tell me where i am going wrong
.
- Follow-Ups:
- Re: Hiding a field in Access 2000 using "Code Builder"
- From: Tim Ferguson
- RE: Hiding a field in Access 2000 using "Code Builder"
- From: Ofer
- Re: Hiding a field in Access 2000 using "Code Builder"
- Prev by Date: RE: Accessing data from tables
- Next by Date: Re: Carrying table and field names into a function
- Previous by thread: Hyperlinking To Excel Getting Reference Is Not Valid - BCP
- Next by thread: RE: Hiding a field in Access 2000 using "Code Builder"
- Index(es):
Relevant Pages
|