I need to read in lines of invoice data and write them out until I find 'subtotal' at ¤t.line,20,27. That tells me my line item detail is done. Does anyone have any examples as to how to accomplish that?