Avatar of daintysally
daintysally
Flag 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.
Microsoft AccessVisual Basic Classic

Avatar of undefined
Last Comment
daintysally

8/22/2022 - Mon
Rey Obrero (Capricorn1)

use this
Forms!NameOfFirstForm.setfocus
daintysally

ASKER
That gives me a syntax error.  My form name is 2 words with a space in between
ASKER CERTIFIED SOLUTION
Rey Obrero (Capricorn1)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
daintysally

ASKER
Thank you for your help! !
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck