RE - Reports

Dear All,

I have developed a report.

In tat whenever a user takes the printout , the first print shud have a word called " Original " at the header,

and aft tat the remaining copies should have a word called “Copy”…

Regards,

Madhan

Hi,

If your report is based on a fetch() method, you can manage your label into it. You can also use an executeSection() method in your report’s header and test the number of copies to display the correct label.

Regards,

Thomas

Hi Thomas,

Yes… My report is based on fetch method ly…

If so, can u provide me with the code…

So that it will be helpful for me…

Regards,

Madhan

It’s longer code and more complicated to do with a fetch, so:

  • set your label autodeclaration property to Yes

  • add an executeSection() method on your Header,

-declare a counter in class declaration, initialize your counter in the executeSection(),

  • add the following code in the executeSection():

if your_Counter > 1

yourField.label(“copy”);

else

yourField.label(“Original”);

It should work

Regards,

Thomas