Filter Form

  • Thread starter Wesley Appeldorn
  • Start date
W

Wesley Appeldorn

I am trying to create a form that will filter records on another form.
Using multiply fields. Some fields will not be used all the time. Also need
to be able to use wildcards.

I have tried using a command button that use's the link criteria.When i use
it that way it has to be case sensitive. No wild cards can be used.

I have also tried going into the query of the form i am trying to filter and
had added links to the fields of the filter form. It allows wildcards but if
one field is blank it does not show a record.

Say i got two fields
1. Name
2. ZipCode

If i wanted to filter by zipcode.
I simple type in the zipcode and the name is not used. I would have to put
a * in the name to find the records. If i did not no records would show up.

If I wanted to filter by name but only new part of the name.
Then I would need to *partName* in the name and * in the zipcode.
Only problem is that if the zipcode is null it does not show that record.
For instance Foreign Countries.
So in my query i have for a criteria is (Like [Form]![filter]![Zipcode] or
is null) by doing this it shoes me the record i want but all records with no
zipcode.

Any help will be appricated.
 

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

error 2489 1
autolookup for a form - need help 5
Help with update query and unbound combobox 4
Cascading Combo Boxes 3
Combo Box 6
zipcode lookup table-Access 2007 4
Form coding question 11
Form help 4

Top