Article ID: 113548
Article Last Modified on 1/18/2007
Name: GotoFreight
Caption: Freight
OnClick: [Event Procedure]
' Select the Orders subform control.
Me![Orders].SetFocus
' Select the Freight control on the Orders subform.
Me![Orders].Form![Freight].SetFocus
Name: GotoQuantity
Caption: Quantity
OnClick: [Event Procedure]
' Select the Orders subform control.
Me![Orders].SetFocus
' Select the nested Orders Subform subform control.
Me![Orders].Form![Orders Subform].SetFocus
' Select the Quantity field on the nested subform.
Me![Orders].Form![Orders Subform].Form![Quantity].SetFocus
Name: GotoCity
Caption: City
OnClick: [Event Procedure]
' Select the main form.
Forms![My Customer Orders].SetFocus
' Select the City control on the main form.
Forms![My Customer Orders]![City].SetFocus
OnExit: [Event Procedure]
' Select the main form.
Forms![My Customer Orders].SetFocus
' Select the Orders subform control.
Forms![My Customer Orders]![Orders].SetFocus
' Select the Freight control on the Orders subform.
Forms![My Customer Orders]![Orders].Form![Freight].SetFocus
Keywords: kbhowto KB113548