trurobruce
03-25-2002, 02:33 AM
I want to get the tab to move from the last box in the first subform to the first box in the second subform. At the moment it goes from the last box in the first subform back to the first box in the same subform.I cannot do it with the tab index. Can it be done using code?
Fizzio
03-25-2002, 05:12 AM
I haven't tried this myself but you could try this.
On the afterupdate or lostfocus property of the last field in your first subform set it to
DoCmd.GotoControl Forms!NameofMainForm!NameofSubform2.Form!NameofCon trol
HTH
David R
03-25-2002, 07:50 AM
Or just Forms![MainForm]![NextFieldName].SetFocus
HTH,
David R