Set Focus to subform control

D

DJW

How do I set focus back to a subform control after doing a requery?
Is it possible to only requery a subform and not the main form?

The main form is "frm_Payments" and the subform is "frm_subPayments". The
control is "AmountRecieved".
 
G

Guest

Hi, DJW.

Set the focus to the subform itself first, then the control on it.

Me!MySubform.SetFocus
Me!MySubform.Form!MySubformControl.SetFocus

Sprinks
 

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