Create a report with only results with specific entry in field

5 pts.
Tags:
Microsoft Access
Microsoft Access 2003
Very simple question - sorry. How do I create a report where only the entries where a field has a specific answer. Such as only the results whose tick box is ticked, or who's "category" field is a certain category?

Answer Wiki

Thanks. We'll let you know when a new response is added.

If your report is based on a query, simply appliy your criteria in the query.

If your report is based on a table, you could set the record source of the report to a select statement, i.e.
select * from table where tickbox = true

Or if you run your report from a from with a button. You could use the where parameter of the OpenReport method. Then you simply put “tickbox = true” in the where part.

Also, if you select a category on the form to print the report, you could put that in the where parameter as well. So you would put “category = ‘” & Me!Category & “‘” in the where part.

Hu Sleepybird! As mentioned above, I’m assuming you are obtaining the data for your report via a query. If you have a field, for instance, “vendor” and you just want the report to look at vendor “Kroger” (or whatever) in the criteria for that query field just type the word “Kroger”. If there are other vendors, type “Kroger” or “Safeway” or “Alco”. Run the query and see if that doesn’t return the data you want to see. The previous writer is exactly right about selecting “true” in the criteria for a yes/no box (or “false” as the case may be.) Good luck! It looks like you are a beginner and I promise you that you will LOVE this program the more you get into it!

Cheers!
JuJu

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following