Don't print records with null values

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a report that lists all new hires by department and sub department.
If there are no new hires in a department/subdepartment, I do not want to
print that record. Only the department/subdepartment that has a value that
is not null. How would I do this? For example,

Accounting Admin 0
Accounting Finance 3
Accounting Collections 2

I do not want to print Accounting Admin on the report, just the other 2
records.

I am new to access so please help.
 
You generally apply a filter to the report's record source query. The easiest
method is to set the criteria under the appropriate column to
 
Duane,

I tried this, I set the criteria in the query to >0 in the column where the
counts are, but it still showed me every record.
 
If you are thinking the Can Shrink property might help, you better tell us
something about your report's record source. Do you have field/column names
like "Finance" and "Admin"?
 
Duane,

I have a query that sums the Dept and Sub Dept. I have another query that
sums the counts by Dept and Sub Dept. I then join the two queries into a
final query. This final query shows all the Dept with their sub depts
whether there are any counts or not. This final query is the one that I use
in the report. In the report it is showing everything in the final query,
whether there are counts or not. I only want it to show rows where at last
there is a count greater than null.
 
If your report's record source has 0 in a particular column and your criteria
under this column is
Then you should not be seeing records where the column value is zero.

If you can't figure this out, we might need to see your SQL view of your
queries.
 

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