« on: October 21, 2018, 06:36:26 pm »
I have a report defined as
frReport_Evaluatie: TfrReport;It is works perfectly but is it possible to NOT show a part of it depending on 1 or 2 values?
Let me explain it more. If you look at the picture i added as an attachment the first blue rectangle (Score) is the dependent part to let the second blue rectangle (Overtime) been shown.
The first one keeps the score of a game and is defined with the following code:
[TQ_Rapport."Goals_A"] - [TQ_Rapport."Goals_B"] ( [TQ_Rapport."Evo_Goal_TeamA_Per1"] - [TQ_Rapport."Evo_Goal_TeamB_Per1"] / [TQ_Rapport."Evo_Goal_TeamA_Per2"] - [TQ_Rapport."Evo_Goal_TeamB_Per2"] / [TQ_Rapport."Evo_Goal_TeamA_Per3"] - [TQ_Rapport."Evo_Goal_TeamB_Per3"] / [TQ_Rapport."Evo_Goal_TeamA_Per4"] - [TQ_Rapport."Evo_Goal_TeamB_Per4"] )
If [TQ_Rapport."Evo_Goal_TeamA_Per4"] AND [TQ_Rapport."Evo_Goal_TeamA_Per4"] are both 0 then the Overtime part must not been shown.
Is that possible?
p.s. i have also included the report.
« Last Edit: October 22, 2018, 03:25:49 pm by madref »

Logged
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.
Main Platform:
--------------
Mac OS X Tahoe 26.2
Lazarus 4.99 (rev main_4_99-3149-g7867f6275c) FPC 3.3.1 x86_64-darwin-cocoa
Windows 10 Pro
Lazarus 3.99 (rev cbfd80ce39)