I think this will work...
If you're haven't already, set up a group on Part Number (or however you identify your items...it may be item name).
A regular running total sum of the available parts won't necessarily work here because your Qty Needed will probably only part of what's available, so you'll need to use a formula, something like this:
numberVar TotalAvailable;
numberVar CanShow := 0;
if previousIsNull({table.part_num}) or
({table.part_num} <> previous({table.part_num}) then
TotalAvailable := 0;
if {table.Qty_Needed} < TotalAvailable then
CanShow := 1
else
TotalAvailable := TotalAvailable + {table.Qty_Available};
CanShow
I'm going to assume that you name the formula "ShowLine". So, in your suppress formula, put this:
-Dell
Edited by hilfy - 10 Mar 2008 at 4:30pm