I
Iggv
I have a form :
Samples_imput
with two sub forms:
Samples_imput_number
Samples_imput_list
In this last subform i have a select box. When i select this box in a record
the value I enter in the textbox Samples_num its copied to the textbox
Sample_list in Samples_imput_list
I write thehes code in the After update event of the selectbox but i'm
getting an error.
Private Sub Selected_AfterUpdate()
If Selected = True Then
Me.Sample_list.Value =
Form.Samples_imput_number.Samples_num.Value
Else: Me.Sample_list.Value = 0
End If
End Sub
What i'm doing wrong?
Thanks for your answers
Samples_imput
with two sub forms:
Samples_imput_number
Samples_imput_list
In this last subform i have a select box. When i select this box in a record
the value I enter in the textbox Samples_num its copied to the textbox
Sample_list in Samples_imput_list
I write thehes code in the After update event of the selectbox but i'm
getting an error.
Private Sub Selected_AfterUpdate()
If Selected = True Then
Me.Sample_list.Value =
Form.Samples_imput_number.Samples_num.Value
Else: Me.Sample_list.Value = 0
End If
End Sub
What i'm doing wrong?
Thanks for your answers