compile error

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top