W
weircolin
Hi
I created a database last year and I am now attempting to do another
one. I got help before with a Surname Search on a form which worked
fine, I have tried to copy this over to my new database and it
searches through the names, but when I select one I get the following
error
Runtime Error '2448'
You can't assign a value to this object.
When I debug, the first line of the following code is highlighted
(indicated with **)
Private Sub cboMoveTo_AfterUpdate()
** Me.Filter = "Last Name= """ & Me.cboMoveTo & """"
Me.FilterOn = True
End Sub
Can anyone shing any light onto this?
Cheers
Colin
I created a database last year and I am now attempting to do another
one. I got help before with a Surname Search on a form which worked
fine, I have tried to copy this over to my new database and it
searches through the names, but when I select one I get the following
error
Runtime Error '2448'
You can't assign a value to this object.
When I debug, the first line of the following code is highlighted
(indicated with **)
Private Sub cboMoveTo_AfterUpdate()
** Me.Filter = "Last Name= """ & Me.cboMoveTo & """"
Me.FilterOn = True
End Sub
Can anyone shing any light onto this?
Cheers
Colin