how can I run a some code on my form from a trigger on a subform? The form is named OP_10 and subform major_10, and the code on OP_10 I want to run is Form_KeyPress(KeyAscii As Integer).
What on the main form is triggering the code? Does it get triggered by entering a data into a field? If so, you can put the code on that field's AFTER UPDATE property pointing to the sub-form.
Jim "Get it right the first time, that's the main thing..."
no, I want to cycle through different tabs when the space bar is pressed. When a text box on a subform has focus, the keypressed event for the main form will not trigger. I would like to have the keypressed event for the subform call the keypressed event for the main form.
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.