ACCESS/VBA: How to create a ON/OFF type switch to allow record modification on a form ?

Posted by Christian M on Stack Overflow See other posts from Stack Overflow or by Christian M
Published on 2011-01-05T09:40:06Z Indexed on 2011/01/05 9:53 UTC
Read the original article Hit count: 260

I was using a combobox on my search form to select whether to consult or modify a record. To make it more user friendly (IMO), I put a togglebutton on a form, which controls the .AllowEdits property of my form. This way you can easily switch from reading to writing.

However I run into a problem; once .AllowEdits is switched to false, the togglebutton is not clickable anymore !

What are my options ?

© Stack Overflow or respective owner

Related posts about ms-access

Related posts about vba