0

Filtering grouped NL's

I am kind of new to Jet Reports so bear with me.

I am trying to create a list of inactive customers by comparing an active list to the full one, and then removing any customers with activity. However I have to be able to search both the Sales Invoice Line table and the Sales Invoice Header table so that I can properly apply filters to both. Header for Posting Date and the Lines to block zero amounts and quantity (as some orders are processed with zero's for various reasons, but it does not count as activity). However this is leaving me with values in the header entry and no values for the lines. So I want to filter out the header rows when the line filters prevent the line rows from populating. This will hopefully leave me with enough entries filtered out to not run up agaisnt the 65k row limit. I am assuming this is possible in some manner, or maybe some easier way than how I am going about to accomplish this. Any suggestions would be appreciated.

Here are the NLs, and I am using simple NF's to populate the fields, but didn't see the point in including them here.
Sales Invoice Header NL Statement
=NL("Rows=2","Sales Invoice Header",,"Posting Date",">=6/1/2008","Sell-to Customer No.","<>Z INACTIVE*")

Sales Invoice Line NL Statement
=NL("Rows","Sales Invoice Line",,"Document No.",$B4,"Amount","<>0","Quantity","<>0")

3 comments

Please sign in to leave a comment.