Oct 24 2022 04:47 PM
Hello Experts,
I have a report that opens and on load I set the focus to the close button on the report. I want to be able to hit the enter key and close the report and although the button's focus is set (I verify by using the tab key to make sure it is set) it doesnt seem to activate the close button event that is attached to the close button.
I have to manually grab the mouse and position the cursor above the button and click to close the report. Hitting enter is much quicker.
Its interesting to note that I can do this without any issues on a form but seems like there is something in a report that prevents the close button code from firing when I hit enter and the focus is set to the close button.
thank you...let me know if any questions.
Oct 24 2022 05:38 PM
Is it possible that the command button responds to a "Click" event, but not to an "Enter" event?
Does this technique work on a command button on a form?
What other trouble-shooting steps have you taken?
Oct 25 2022 03:29 AM
SolutionOct 25 2022 05:43 AM
Oct 25 2022 03:29 AM
Solution