Set Focus to subform control

  • Thread starter Thread starter DJW
  • Start date Start date
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".
 
Hi, DJW.

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

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

Sprinks
 
Back
Top