how to move to a control on a subform ?

hessleroader

Hessleroader
Local time
Today, 15:53
Joined
Oct 20, 2008
Messages
14
Hi all,

I have the following forms below

main form is call "Inward" with a field called "RMA"

Also in the form I have a Subform called "InwardSubform"
with a field called "SUNo"

I am trying to create after update event of the RMA field on main form to then goto SUNo on the subform ?

Many thanks
 
Me.Inwardsubform.Inward.SuNo.SetFocus
also tried

Me.Inward.InwardSunform.SuNo.SetFocus

tried this but getting member not found

Thanks
 
Try: First set the focus to the subform, then afterwards to the control in the subform.
 
When you set the focus direct you'll not see the cursor in that control, (even if it has got focus).
If you set the focus via the subform, the cursor is "blinking" in the control.
Sample database attached.
 

Attachments

Users who are viewing this thread

Back
Top Bottom