Windows 7 Sendkeys

A

Abe Katz

My client got a new computer with Windows7. Now I have a problem with the
SendKeys in code.
I'm using {Esc} to erase if the user enters a wrong entry, and {F9} to
refresh the screen when the Runcommand SaveRecord doesn't work.
I tried to use undo method instead of the Esc, but it only works in the
forms event using me.undo but not when calling a Function.
What is the alternative for {Esc} and {F9}?
Thanks
Abe
 
D

Douglas J. Steele

What's the actual code in your function? Undo should work instead of Esc
(assuming you're undoing the correct object!) Similarly, Requery should work
instead of F9.

Realistically, SendKeys was seldom (if ever) the correct answer, an issue
that's even worse with Win7
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Sendkeys Statement 2
Sendkeys "{ESC}" 1
Access2003, SendKeys and Vista 9
SendKeys in Access2003 and Vista 2
SendKeys 1
"Set Warnings" action 2
Sendkeys 6
Requery a ComboBox error! 1

Top