Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating Criteria in a Report

Status
Not open for further replies.

orbus

Technical User
Jun 2, 2003
3
GB
I need some help on setting criteria for records in a report. Basically, I have two controls: a name from a table, and then a calculated fields which calls on a bunch of queries, using the name control as the variable.

What i want to do is if the calculated control equals zero, i don't want that record to show on the report. So basically i get just the data greater than zero.

I know that i can do this through creating more queries... so don't suggest that... if i could do it right from the report that'd be mint.

any suggestions?

thanks!
 
It's hardly proper to do but you can use iif statements to do what you want.

=iif([FieldToCheck]=0,"",[FieldToShow])

Again this should really be done in the query because of the speed difference but hey, maybe there's a good reason!
Joe Miller
joe.miller@flotech.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top