L
Les Isaacs
Hello All
I have a form called 'frm prospects' that opens in continuous form view. One
of the fields is called 'prospect_notes'. In the form header I have a
textbox called 'lookfor' and a button with the following OnClick event:
Private Sub Command26_Click()
Me.Filter = "[prospect_notes].Value Like '*' & [Forms]![frm
prospects]![lookfor] & '*'"
Me.FilterOn = True
End Sub
... but when I click the button a popup dialogue asks me for the paramater
value of [prospect_notes].Value. I have tried variations on the delimiters,
and leaving out the '.Value' parts, but cannot get this work. Hope someone
can help.
Many thanks
:Leslie Isaacs
I have a form called 'frm prospects' that opens in continuous form view. One
of the fields is called 'prospect_notes'. In the form header I have a
textbox called 'lookfor' and a button with the following OnClick event:
Private Sub Command26_Click()
Me.Filter = "[prospect_notes].Value Like '*' & [Forms]![frm
prospects]![lookfor] & '*'"
Me.FilterOn = True
End Sub
... but when I click the button a popup dialogue asks me for the paramater
value of [prospect_notes].Value. I have tried variations on the delimiters,
and leaving out the '.Value' parts, but cannot get this work. Hope someone
can help.
Many thanks
:Leslie Isaacs