All or selected Query

V

Valerie Wong

I have a query to run summary of projects. The criteria of the query would be
the project name. However in some cases, instead of showing just one of the
projects I would like the query to show all projects. How could I do this?

Many thanks for any help!
 
K

Ken Snell MVP

Assuming you use a parameter for the project name:

SELECT *
FROM TableName
WHERE ProjectNameField =
[Enter project name:] OR
Len([Enter project name:] & "") = 0;
 

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