Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print When Remove line if blank
Message
From
06/10/2016 18:48:36
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01641711
Message ID:
01641719
Views:
57
>Hi,
>
>I have a Field in the report and the property Print When - Remove Line if Blank is checked. So that if the value of the variable in this field is empty, the field is not printed at all. But sometimes I want the field NOT to be Removed and yet nothing to be printed; that is a blank line to be printed. What kind of value can I set in this field so that Remove Line if Blank would not see it as blank but nothing would be printed? I am thinking of some CHR() value but can't come up with one that would work.
>
>TIA

Have you tried simply clearing the "remove line if blank" checkmark? When checked you're specifying that vertical space occupied by field should be removed when it is blank. With the checkmark cleared the vertical space is retained.
For character field then you generally won't have to do much -- if it's empty, then blank space is displayed.
For numeric types you can select "blank if zero" in the format to not print the zero.
For other types (e.g. date) then you can fill in the "Print only when expression is true" with something like "NOT EMPTY(expression)"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform