Applyfilter [wherecondition]

  • Thread starter Thread starter Paul
  • Start date Start date
P

Paul

Hello Gurus and newsgroup users.

Your kind help please.

I want to filter a continuos form using a combobox. I am
using the afterupdate event of the combo and Applyfilter.
Could anyone explain to me or give me an example of
the “where” condition.

Many thanks

Paul
 
Assuming that the combo box returns a city field, you could in the after
update event of the combo box go:


me.Filter = "City = '" & me.myCombo & "'"
me.FilterOn = true
 

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

Back
Top