Setting focus to other db's form

L

Lars Brownies

With appAccess.DoCmd.OpenForm "Orders" I can open another mdb's form. Is it
also possible to move the focus to a specific field of that form by using
the appAccess variable.
I tried appAccess.forms.Orders.MyField.setfocus but that doesn't work.

Thanks,

Lars
 
T

tina

if you used the exact syntax you posted, that may be the problem. try

appAccess.Forms("Orders")!MyField.SetFocus

hth
 

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

Top