D
dosima
Hi
I have a compile error on my form and not sure what needs to be changed. the
following code is used to select a court name which then automatically
displays the selected courts address and number. The code for that is in the
form in the text box.
Private Sub cmbCourtName_AfterUpdate()
Me.txtCourtAddress = cmbCourtName.Column()
End Sub
the code for the text box on the form is =[cmbCourtName].[Column](2)
When i compile this code it says compile error 'argument not optional' and
highlights the .Column()
Can someone please help and tell me what i need to do in order to get rid of
the compile error.
I have a compile error on my form and not sure what needs to be changed. the
following code is used to select a court name which then automatically
displays the selected courts address and number. The code for that is in the
form in the text box.
Private Sub cmbCourtName_AfterUpdate()
Me.txtCourtAddress = cmbCourtName.Column()
End Sub
the code for the text box on the form is =[cmbCourtName].[Column](2)
When i compile this code it says compile error 'argument not optional' and
highlights the .Column()
Can someone please help and tell me what i need to do in order to get rid of
the compile error.