For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Crystal Reports > January 2006 > Question on Setting Suppress property









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Question on Setting Suppress property
John

2006-01-20, 3:59 am

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com