Your code ...
If {Produccion.OK} = 1 Then
Sum ({Produccion.NumMoldes})
did not work because you can not conditionally SUM a row. You were trying to do a WHERE clause per row to include or exclude the row in the SUM. Crystal won't do that. What this formula was doing was showing for each row a 0 if the condition was false or the the entire SUM of the NumMoldes (for all records) if the condition was true.
Crystal does not let you conditioanlly sum like that. YOu can either write a formula like we did and sum that, or use a formula with a shared variable to conditinally include or exclude each row, or you can use a Running total (like my earlier post suggested) to conditionally include or excldue rows.
Your first page has the Report header on it.
If you suppress that your group header will appear in the same location on the first page as each following page
Edited by DBlank - 28 Apr 2010 at 3:43am