Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 1 Jahr, 10 Monaten
Letzter Beitrag:
vor 1 Jahr, 10 Monaten
Beteiligte Autoren:
Aad Gouka, Binod Lohani, Ola, Al

WD17 - Make particular lines in a report invisible.

Startbeitrag von Aad Gouka am 24.08.2016 10:45

Hi all,

I have a simple report with 3 columns, let's say NAME, DEBIT, CREDIT, TOTAL.
TOTAL=DEBIT-CREDIT and is calculated in every line of the report.
When TOTAL = 0 I don't want to print this line.

Any ideas how to achieve this ?

Best regards,

Aad Gouka


Hi Aad,

Try using code like this in the "Before printing body" code section:

IF Total = 0 THEN

Best regards

von Ola - am 24.08.2016 12:30
Hi Aad

I think that should be
IF Total = 0 THEN
Total..visible = false
Total..visible = true


von Al - am 24.08.2016 18:42
Hi Ola and Al,

Thank you for your suggestions.

@Ola. I tried what you suggested in several ways, but it doesn't work.
@Al. I want to make to complete line invisible.

I played around a bit with RESULT true and RESULT false. This seems to only way
to filter a BODY line.

Variables from the report loose there value in the code segment Filter(proces record). Database fields keep there value. So to filter a BODY line out of the report, someone can't use a variable that is valued within the report.

I hope you understand what I mean.

Best regards,


von Aad Gouka - am 25.08.2016 08:39
Hello !!
What is the source of your Report ??
IS it table or something else like query ...

Further what about filtering the source of your report using the condition where debit credit ??

von Binod Lohani - am 30.08.2016 00:06
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.