Hi, I have a main form with a subform. One to Many.
I am passing a value from the main form to an unbound control on the subform.
The trouble is I only want to add that value to the first record on the subform, not all if it happens to be a "many"
This is where I am so far but does not seem to work. Am I on the right track or is there a better easier way..
Thanks.
Fen
Private Sub Form_Dirty(Cancel As Integer)
If Me.Recordset.AbsolutePosition = 1 Then
Me.Text76 = [Forms]![ManagePaymentsF]![Text50]
End If
End Sub
I am passing a value from the main form to an unbound control on the subform.
The trouble is I only want to add that value to the first record on the subform, not all if it happens to be a "many"
This is where I am so far but does not seem to work. Am I on the right track or is there a better easier way..
Thanks.
Fen
Private Sub Form_Dirty(Cancel As Integer)
If Me.Recordset.AbsolutePosition = 1 Then
Me.Text76 = [Forms]![ManagePaymentsF]![Text50]
End If
End Sub