I've got a weird one for you. I have a button on my form that has an included hotkey, i.e. (Temp Pull &T). If I use Alt+T the button works, but if I click on the button it returns an error with the Module. Got any ideas?
I've got a weird one for you. I have a button on my form that has an included hotkey, i.e. (Temp Pull &T). If I use Alt+T the button works, but if I click on the button it returns an error with the Module. Got any ideas?
What is the error message?
What is the code?
Last edited by June7; 08-25-2019 at 12:14 PM.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
And what is the code for the button/what does it do?
I can see this being the situation if the button did something that requires another Control to have focus when the code executes...the hotkey would execute the code properly...but by clicking on the button, focus would have been moved to the button, not on the other Control.
Linq ;0)>
The problem with making anything foolproof...is that fools are so darn ingenious!
All posts/responses based on Access 2003/2007
Actually, hotkey does move focus to the button. At least I see it has dashed line around it, same as clicking on it and cursor is no longer in textbox.
Sometimes weirdness is corruption. Try deleting and rebuilding the button.
If you want to provide db for analysis, follow instructions at bottom of my post.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.