G
Guest
Please, help!!!
I have a combo on my main form with the following event procedure:
Private Sub Paid_AfterUpdate()
If Me.Paid = Me.[Paid].Column(0) Then
Me.Address = Me.[Paid].Column(1)
End If
End Sub
This works all right.
I want a similar thing on my sub-form, but I cannot make it out right. I
guess that reference to the subform is wrong, but I have no idea how to do it
right:
Private Sub Combo32_AfterUpdate()
If Me!Forms!SPENT!Child37![Description] =
Me!Forms!SPENT!Child37![Description].Column(0) Then
Me!Forms!SPENT!Child37![Unit Price] =
Me!Forms!SPENT!Child37![Description].Column(1)
End If
End Sub
Please help me!!!!
Thank you.
Lana
I have a combo on my main form with the following event procedure:
Private Sub Paid_AfterUpdate()
If Me.Paid = Me.[Paid].Column(0) Then
Me.Address = Me.[Paid].Column(1)
End If
End Sub
This works all right.
I want a similar thing on my sub-form, but I cannot make it out right. I
guess that reference to the subform is wrong, but I have no idea how to do it
right:
Private Sub Combo32_AfterUpdate()
If Me!Forms!SPENT!Child37![Description] =
Me!Forms!SPENT!Child37![Description].Column(0) Then
Me!Forms!SPENT!Child37![Unit Price] =
Me!Forms!SPENT!Child37![Description].Column(1)
End If
End Sub
Please help me!!!!
Thank you.
Lana