|
| Hi,
I am using the crystal report shipped in the Visual Studio .Net. I am
creating a report and have met a problem when I want to set the suppress
property of two fields.
The report is grouped by the employee field. It will start a new page
when the employee has changed.
One of the field that meets the suppress problem is the Total amount
field. It is located in the Page footer. And I hope that the field only
displays on the page footer of the last page for each employee.
The another field is a text field "To be continued". It is to fill up
the space when the total is not appropriate to display.
I have tried to compare the key field of current employee record with the
key field of the next record. However, when the report comes to the last
page, the "To be continued" is displayed. I have tried adding the condition
"OnLastRecord" to the suppress condition, the text is still displayed on the
last page.
How can I do the suppress in the report? Is that I should use other
condition to test in the formula?
Thanks for your help.
Rgs,
John
|
|