I need to have enter check the check box instead of going to the next option in an acess database. Any help is appreciated.
Printable View
I need to have enter check the check box instead of going to the next option in an acess database. Any help is appreciated.
Can you explain a little more? Is this in a table, form, etc?
in a form. also, i would like one check box to check other boxes in the form.
For the one checkbox to check others, you would need to write the code behind that checkboxs click event. Then set the other
checkboxes .Value to either True or False depending on the original checkbox's value.
If the checkbox has focus then the spacebar is the default key to check the checkbox. Your saying that you want to change this?
it would be in the checkbox's keydown event. Trap for chr 13 and toggle the value of the checkbox.
/me slaps forehead. forgot about that. it's been a while. I just wrote a macro to execute on the checkbox selection that checks the rest of the boxes. thanks again.Quote:
Originally Posted by RobDog888
Not a problem. :)
We all have those days and I like the easy fixes for questions like this :D