Setfocus to Form Footer

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

Guest

I need help with syntax again. I have placed my command buttons in the form
footer. After a user leaves a box empty on the detail section of the form, I
want the focus to move to the modify button in the footer, not to execute it,
just to sit there. The code is wrapped within a "with" statement. The name of
the command button is Modify and .modify.setfocus is not working

Please feel free to make any suggestions on how to make this button "pop" to
the user as the focus may not be enough. As an example, can you cycle the
visibility and make it pause for a second so the on and off gets noticed?
Thanks in advance for your help.
 
Sorry to waste anyone's time.

I had hardcoded the form name, rather than having it change with the current
form, at the beginning of the with statement, so the program was looking for
the modify button in a form where it did not exist. It works now.

Any ideas on how to make the button stand out better, however, would be
appreciated.
 
Back
Top