Tip #31 | Print Report ID on Reports

When an end user asks you to change a report, they often show a paper print of the report with the changes drawn with a pen or marker.

They often (or always) don’t know the report number and if you’re unlucky the report is printed in some automatic process and you’ll have to dig into the code to find the report ID.

This can be easily solved by printing the report number in the header or footer like this:

When doing this on Internal Reports there should be no problem.

Take care,

/Marq

PS: With thanks to Reinder van der Veen.

One response to “Tip #31 | Print Report ID on Reports”

  1. With this little peace of Code you get the ID dynamically:
    COPYSTR(CurrReport.OBJECTID(FALSE),STRPOS(CurrReport.OBJECTID(FALSE),’ ‘)+1)
    (Didn’t test it in RTC yet)

    Like

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.