Hide Buttons

gpurger

Registered User.
Local time
Today, 03:43
Joined
Apr 21, 2004
Messages
66
Hi,
I can hide buttons on a form but what I want is to hide/ show it when one of the fields has a specific value.

Cheers

Gordon
 
Use the appropriate BeforeUpdate event for whatever control holds the value that will determine the visibility.
 
Hi,
Have tried but can not get it to work.
I want it to react as I increment through the records.
Code used is

Private Sub Continuation_BeforeUpdate(Cancel As Integer)
If Me![Continuation] = "hello" Then
Me![BtnContinuation].Visible = True
Else
Me![BtnContinuation].Visible = False
End If
End Sub

Thanks for any help
 
PMFJI but in this case you will need to put your code in the Current event of the form.
 

Users who are viewing this thread

Back
Top Bottom