A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Windows 7 Sendkeys



 
 
Thread Tools Display Modes
  #1  
Old May 21st, 2010, 07:20 PM posted to microsoft.public.access.forms
Abe Katz
external usenet poster
 
Posts: 43
Default Windows 7 Sendkeys

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


  #2  
Old May 21st, 2010, 07:32 PM posted to microsoft.public.access.forms
Douglas J. Steele[_3_]
external usenet poster
 
Posts: 3,143
Default Windows 7 Sendkeys

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

--
Doug Steele, Microsoft Access MVP
http://www.AccessMVP.com/DJSteele
(no e-mails, please!)

"Abe Katz" wrote in message
...
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



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:37 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.