filter wild card

M

Mark Kubicki

i have a form whose records can be filtered based on the value of a combo
box (on that form) (cboSourceFilter)
the combo box gets it's values from a user entered table

my problem is:
i can filter "down" toa specific criteria, but can't seem to find a way of
adding a wildcard to the list to return to displaying all of the records
i could use an option button to see the list filtered or not; but would
rather use a " * " at the top of the list



Private Sub cboSourceFilter_Change()
On Error GoTo Err_cboSourceFilter_Change

Me.Filter = "[Source] = '" & Me![cboSourceFilter] & "'"
Me.FilterOn = True


thanks in advance,
mark
 
M

Mark Kubicki

Huh?
are you saying that i should add "*" to the row source table?


Rod said:
Hi Mark

Have you tried Like "*"?

Mark Kubicki said:
i have a form whose records can be filtered based on the value of a combo
box (on that form) (cboSourceFilter)
the combo box gets it's values from a user entered table

my problem is:
i can filter "down" toa specific criteria, but can't seem to find a way
of
adding a wildcard to the list to return to displaying all of the records
i could use an option button to see the list filtered or not; but would
rather use a " * " at the top of the list



Private Sub cboSourceFilter_Change()
On Error GoTo Err_cboSourceFilter_Change

Me.Filter = "[Source] = '" & Me![cboSourceFilter] & "'"
Me.FilterOn = True


thanks in advance,
mark
 

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

Top