>Thank's Sergey,
>
>This SELECT's are for a Report, now i have two cursors one with the Detail Lines, and one with the Totals. How i deal with two cursor's in the reporter writer? (I know this isn't the right thread...but just asked :) ...)
>
>João Batista
You don't need second cursor for a report. Instead add a field with TaxAmount as an expression to a Summary band and select Sum under Calculations.
--sb--