G
Guest
I am building a form which has 7 subforms on it. In order to simplify
navigation from one subform to the next, I would like the user to be able to
use the Tab key. Through reading previous posts, I have inserted the
following code:
Forms![Staff]![Staff Red Cross Certifications
subform].Form![RCCertification].SetFocus
The code is in the OnExit event of the last control of the preceeding
subform. The main form is "Staff", the subform and control of the preceeding
subform are "HR Cerfications subform" and "HR Certification ID",
respectively. The subform and control destination are "Staff Red Cross
Certifications subform" and "RCCertification", respectively.
Unfortunately, I received a run-time error 2465.
Please help.
navigation from one subform to the next, I would like the user to be able to
use the Tab key. Through reading previous posts, I have inserted the
following code:
Forms![Staff]![Staff Red Cross Certifications
subform].Form![RCCertification].SetFocus
The code is in the OnExit event of the last control of the preceeding
subform. The main form is "Staff", the subform and control of the preceeding
subform are "HR Cerfications subform" and "HR Certification ID",
respectively. The subform and control destination are "Staff Red Cross
Certifications subform" and "RCCertification", respectively.
Unfortunately, I received a run-time error 2465.
Please help.