Another trick I use is to create a "READ ME" formula and place it suppressed in the report footer.
This formula is nothing more than a commented list of special features of the report that you would want to pass on to future developers...or yourself for that matter when you are required to do maintenance on the report a year from now
@ReadMe
// Here are the tricky parts of the report and Why I chose
// to do it this way:
// Trick 1 - ..........
// Reason 1 - ..........
// Trick 2 - ..........
// Reason 2 - ..........
// Trick 3 - ..........
// Reason 3 - ..........
.
.
.
.
//Report Maintance Log
//--------------------
//Date Developer Work done
//2003/05/02 JNB Fixed bug in rounding of subtotal
//2003/05/14 JNB Changed column format as per Mr. ED
You see the idea....I insert this formula (suppressed)in the report footer and conditionally color the field red
if 1=1 then crNoColor else crRed
This way it is visible in design.
Doing it this way your notes ALWAYS stay with the report making it easy for subsequent maintenance developers to enhance or debug your reports.
Thanks Everyone. Both the exporting to Report Defenition and the tips on adding comments are awesome. I had not even thought to add comments for revision history. Good point.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.