Out of control when printing out the report designer
Hi
I put the PO No.: || df_indent || on the report designer.
In 'Print When' properties, I click on the 'Remove line if blank' checkbox and write thefollowing code as below.
(.not. empty(df_indent) and (_pageno>1)) or (.not. empty(df_indent) and (_pageno=1))
Example of the output result when printing.On 1st page of the report designer
PO No.: Testing ABC
On 2nd page of the report designer
Testing ABC
I want to make the PO No.: appear on the 2nd page too. Is there anything mistake on my code?
Sometimes, there is no input on the form that is linked to the report designer when printing out. For e.g, I do not type out the 'Testing ABC' beside PO No.: on the form and thus it will not be displayed and just leave blank on both page 1 and 2.
[1208 byte] By [
MillBear] at [2007-12-24]
Millbear,
Probably you need to rephrase your question. It's not clear what you're asking (maybe someone else would understand). ie: What is df_indent, a memory variable or a field - I assume a field since it does not have an m. prefix? How do you put PO No: || df_indent__ || on the report designer? Is that a label as you typed? Where do you put print when code (label, field or both?) etc.
PS: Your "print when" code is effectively same as: !empty(df_indent)
CetinBasoz
Sorry for not explaining clearly.
df_indent is a field.
PO No: is a label.
In the report designer, I design PO No:df_indent.
I put the code on the label of PO No: in the Print When properties.
When printing more than 2 pages, the label ‘PO No:’ is printed on 1st page but not printed on 2nd page since the df_indent is not empty. ( the example of the output result when printing.) I think that the problem lies with _pageno>1.