Help with Control Button Settings

Bullman2000_uk

Registered User.
Local time
Tomorrow, 06:38
Joined
Jun 6, 2007
Messages
17
I have a control button that I need to be unavailable if a check box is ticked (to stop users being able to reject and authorise items)

Can you please advise how I can create a rule for the button that means it will be blocked out if the check box is ticked?
 
Code:
if chkYourChkBox = true/false then
    me.cmdYourButton.enabled = false
else
    me.cmdYourButton.enabled = true
end if
you'll need this code on the form_current event and cmdYourButton_afterupdate events.
 

Users who are viewing this thread

Back
Top Bottom