Command Button

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I make a command button send keystrokes... in other words... make a
command button do the same thing as the F11 key on the keyboard?

Any help would be greatly appreciated.

Thanks,

Mark
 
Mark10101010 said:
How can I make a command button send keystrokes... in other words...
make a command button do the same thing as the F11 key on the
keyboard?

Any help would be greatly appreciated.

There is a method to do that but it is buggy and dangerous as sometimes the
keystrokes get sent to some other program than you intended.

Much better is to run code that does what the F11 key does rather than
running code that produces the F11 keystroke. I assume you want to display
a hidden db Window, Code for that is...

DoCmd.SelectObject acTable,,True
 
Rick Brandt said:
There is a method to do that but it is buggy and dangerous as sometimes the
keystrokes get sent to some other program than you intended.

Much better is to run code that does what the F11 key does rather than
running code that produces the F11 keystroke. I assume you want to display
a hidden db Window, Code for that is...

DoCmd.SelectObject acTable,,True

That Worked Well...Thank You Very Much!

Mark
 
Back
Top