Is there a way of either hiding or disabling buttons on a form based on the value of a control? I can only see a global yes/no selection for each button.
I didn't mention my form is a continuous form. I have the code working but it affects all detail records - any way to have it only affect the relevant record?
Also, I can't get it to work immediately the form is loaded - it only changes the enabled property when you click the button (I have tried the code in the On Current and On Load events.
What you would need to do is to simulate a button using a textbox control. Use the textbox's Click event as you would for the button.
The use conditional formatting on the textbox to enable or disable the textbox, based on the value in the other control.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.