Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Query Criteria

Posted on 2013-05-12
2
Medium Priority
?
345 Views
Last Modified: 2013-05-12
If i have a question in a query such as [Which town?]

How can the use return the records for all towns?

Leaving the cell blank does not work, nor does using a *.

All help most welcome.
0
Comment
Question by:SweetingA
2 Comments
 
LVL 61

Accepted Solution

by:
mbizup earned 2000 total points
ID: 39159977
Set your criteria to

LIKE NZ([Which Town], "*")

Then if the user enters a blank, all records will show
0
 

Author Closing Comment

by:SweetingA
ID: 39160006
Excellent
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Suggested Courses

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question