Good morning
In a report I made a formula in a section in the suppress section button with
a condition that checks that a text field is empty, if it is empty suppresses the selection.
In this section there is another field with a value that is the hours needed to do a job
This field Hours I have to make a sum with other fields if the section is not suppressed, but the field is always added
and I do not understand how I can do it.
Please can someone give me some advice?
Thanks so much
Fabrizio
this is the formula to suppress the section
IF {tblSchedaCompletaPerStampa.LavorazioneBBG} = "" THEN TRUE Else FALSE
And this is the formula to add the fields if they are visible
If {tblSchedaCompletaPerStampa.NoteVerniciatura} = "" Then ROUND({@TempoFresaPerNumPezzi}/10)+{tblTempi.TempoGiorniTrattamento} Else If {tblSchedaCompletaPerStampa.Trattamento} = "" Then ROUND({@TempoFresaPerNumPezzi}/10)+{tblTempi.TempoGiorniVerniciatura} Else If ({tblSchedaCompletaPerStampa.NoteVerniciatura} = "") AND ({tblSchedaCompletaPerStampa.Trattamento} = "") Then ROUND({@TempoFresaPerNumPezzi}/10) Else ROUND({@TempoFresaPerNumPezzi}/10,0)+{tblTempi.TempoGiorniTrattamento}+{tblTempi.TempoGiorniVerniciatura}
I hope you understand what I want to say
Thanks a lot
Fabrizio