0

un-needed rows...

I will try to explain this as best as possible…

I built a report that starts with an =NL("Sheets","Salesperson/Purchaser","Code","Code",$C$5) "$C$5 is the =NL("EVAL","=option!$F$8")"

from there added an =NL("rows=6","Customer",,"No.",$C$3,"Salesperson Code",$C$8)

from there added an =NL("Rows=3","Sales Invoice Header",,"Bill-to Customer No.","@@"&$I10,"Order Date",$C$2)

final was an =NL("Rows=2","Sales Invoice Line",,"Document No.","@@"&$D11,"No.","<>23100","Gen. Prod. Posting Group",$C$6) (if i dont use the @@ i error)

it produces this
~~~~~~~~~~~~~~~~~~~
Start Date 4/1/2009
End Date 4/30/2009
CSR No Name
BDL 140030 STEVE'S TRUCKING Cost Price Margin
$37.12 $50.00 25.76%
BDL 140139 BOB' TRUCKING Cost Price Margin
$202.01 $334.71 39.65%
BDL 405348 JIM'S TRUCKING Cost Price Margin
$43.92 $62.00 29.16%
Totals for BDL $283.05 $446.71 36.64%
~~~~~~~~~~~~~~~~~~~~~~~
final report shows each saleperson by sheet… each saleperson tab will show all the customers by name that purchased a product line, cost , price and margin….

I got everything to function the way i want it by hiding lines where customer that belongs to this saleperson that did not purchase this product line is hidden.
But when the xls is complete it is about a 40 meg file, being there are 40,000 lines for some of these salespeople… which about 39,800 are just hidden…

if customer "Bob's Trucking" does not have a purchase for that product line.. How do I tell Jet not to return a line with the Customer information….and only populate the customers that have bought this item or line?
~~~~~~~

3 comments

Please sign in to leave a comment.