Link to home
Start Free TrialLog in
Avatar of daintysally
daintysallyFlag for United States of America

asked on

Set focus on form

Hi Experts,

how do I place the focus on a form in an access switchboard.  The event procedure opens several forms at once.  Now I need the focus to be placed on the first form opened.
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

use this
Forms!NameOfFirstForm.setfocus
Avatar of daintysally

ASKER

That gives me a syntax error.  My form name is 2 words with a space in between
ASKER CERTIFIED SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you for your help! !