Setting focus to other db's form

  • Thread starter Thread starter Lars Brownies
  • Start date Start date
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
 
if you used the exact syntax you posted, that may be the problem. try

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

hth
 
Back
Top