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.
 

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

SetFocus Quirk 1
SetFocus misbehaviour 4
Resize form with footer 9
Subform + Setfocus 1
SetFocus Issue 2
SetFocus Problems 2
SetFocus in Form Undo event 13
Remove SetFocus 3

Back
Top