Tabbing between continuous subforms

Garswood

Registered User.
Local time
Today, 09:29
Joined
Jul 12, 2001
Messages
11
Hi,

Does anyone know if it is possible to tab from one subform to another when they are set as continuous forms.
The forms are set to allow additions and what I would like is if a user leaves a field blank then on exiting that field they will tab through to the next subform.
I have tried variations on the following event code

if IsNull(me.field) then
forms![formname].[subform].[control].setfocus
end if

but keep getting object does not support this property or method.
 
Try This:

if IsNull(me.field) then
Me.Parent.[subform].setfocus
end if

This should set the focus to the specified Sub Form
 

Users who are viewing this thread

Back
Top Bottom