P
PJFry
I am trying to tab from the last control on sfMother to the first control on
sfFather.
Both sf's appear on fFamily.
Here what I am doing:
Private Sub sngAge_Exit(Cancel As Integer)
'sngAge is the last control on sfMother
Forms![fFamily]![sfFather].Form![txtName].SetFocus
End Sub
It does not produce an error, it just goes back to the first control on
sfMother. My cycle is set to current record.
If I code it to go to Forms![fFamily]![RecordID] it works just fine, so I am
guessing it doesn't know where to go.
Thoughts?
PJ
sfFather.
Both sf's appear on fFamily.
Here what I am doing:
Private Sub sngAge_Exit(Cancel As Integer)
'sngAge is the last control on sfMother
Forms![fFamily]![sfFather].Form![txtName].SetFocus
End Sub
It does not produce an error, it just goes back to the first control on
sfMother. My cycle is set to current record.
If I code it to go to Forms![fFamily]![RecordID] it works just fine, so I am
guessing it doesn't know where to go.
Thoughts?
PJ