Question Locked

Alternative to SendKeys in Access VBA

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I?m currently using SendKeys ?{esc}? to cancel a user?s input in some situations in BeforeUpdate events, as sometimes they don?t know how to go back to what the field said before they changed it.

However, I?ve found SendKeys seems to be buggy ? does anyone know an alternative?

3 replies

by danuttall

What is the bug you are encountering? Under what circumstances? More details and I might be able to give you a work-around.

I use SendKeys infrequently, but I have not had any big problems with it. Generally when I want to manipulate keypresses I do things in the Keypress or KeyDown/KeyUp event handlers.

This discussion is closed to new replies.