How do I test for first record in subform?
A2k (9.0.3821) SR-1
I have the following code in the subform datasheet and if works OK, however I only want the code to fire when entering the first record in the subform.
How do I test for first record in a subform?
Private Sub lngFeeTypeCodeID_GotFocus()
If Me!lngFeeTypeCodeID = 0 Then
lngFeeTypeCodeID = Forms![frm_TOC_BP_ACD]![lngTypeID]
Me!lngFeeTypeCodeID.Dropdown
End If
End Sub
Any help would be appreciated.
Thanks, John



