Subform navigation

JeepsR4Mud

Registered User.
Local time
Today, 17:35
Joined
Sep 23, 2002
Messages
70
Hello,

I have three forms (one main and two subforms)

I can't remember how to go from the last field in one subform to the field in the next subform.

My thought was to do it through the ENTER key. Tab, going to a new record in the same subform, and Enter taking me to the next subform.

I also think it is a VB code, but I can't remember it.

Can anyone help?

Thanks.

Gayle Ann
 
Put this code on the LostFocus property of the last field on the first subform, which when the user tabs it will move focus to the frist field you have on the second subform... Forms![main Form name]![second Subform name].SetFocus HTH JT
 

Users who are viewing this thread

Back
Top Bottom