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

field criteria only show negative value 1

Status
Not open for further replies.

MICKI0220

IS-IT--Management
Jul 20, 2004
337
US
I have a report that one of the fields is negative carryover. However based on querying and nz feature this field also shows positive values. When the report runs, is there a way to make it only show the negative values, kind of like filtering on the field?
 
add to query
Code:
Select ..... table1.[negative carryover]-nz(table2.[negative carryover]-,0) 
from tablename
where table1.[negative carryover]-nz(table2.[negative carryover]-,0) <0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top