Ask Your Question

base reports: 'Conditional Print Expression' ?

asked 2018-04-18 15:51:52 +0200

EasyTrieve gravatar image

updated 2018-04-18 18:34:35 +0200

In base reports, how is Conditional Print Expression used? What exactly is 'Conditional'?

I created a box control (i.e. Shape, Basic, Square) and I want to be able to turn it on and off with data.

I tried setting Conditional Print Expression to TRUE, FALSE, true, false, 0, 1, -1, yes, no, on, off, but I can't seem to get this box to turn off.

The only way to have it become invisible is to set the visibility to No.

How is Conditional Print Expression suppose to work?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2018-04-18 17:16:33 +0200

Ratslinger gravatar image

updated 2018-04-18 18:49:59 +0200


From Base documentation (Chapter 6 - Reports):

The general properties of group headers, group footers, and fields include a Conditional Print Expression field. Formulas that are written in this field influence the content of a field or the display of an entire region.

Using a simple report:

image description

and using various conditions, you can include/exclude printing of things such as a detail line or a specific field:

image description

For the above, on the detail line, the first field is a counter followed by the label "Conditional Printing".

On the detail line properties is the Conditional Print Expression:

[SimpleCounter] > 3

which is controlling whether a detail line is to print, and the for the label field:

[SimpleCounter] > 5

which controls whether a field is to print.

There is a bug when dealing with graphics - Bug #73707.

edit flag offensive delete link more


I'm guessing I'm seeing the bug. Thanks.

EasyTrieve gravatar imageEasyTrieve ( 2018-04-18 18:37:08 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-04-18 15:51:52 +0200

Seen: 449 times

Last updated: Apr 18 '18