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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

filter out zero's across a record set 1

Status
Not open for further replies.

MICKI0220

IS-IT--Management
Jul 20, 2004
337
US
I need to suppress any row that the value fields in the detail section are all zero's. We only want to see the records where activity has happened.
 
I would do this in the Record Source of the report.
SQL:
WHERE Abs(FieldA) + Abs(FieldB) + Abs(FieldC) + Abs(FieldD) + Abs(FieldE) <> 0
Having multiple value fields where you need to perform calculations across the fields suggests an un-normalized table structure. I could be wrong in your case.

Duane
Hook'D on Access
MS Access MVP
 
Thank you dhookum, that was what I needed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top