Tracing Errors
PixelPointer
Vaughan, Ontario
When working with Fast Reports, is there a way to trace errors within a report. I am an end user of the Fast Reports control, not the programmer. I keep recieving an error saying that I am using an invalid field, but it does not show me where it is picking up this error.
Any assistance would be appreciated. If you need more details, please let me know.
Thank you.
Any assistance would be appreciated. If you need more details, please let me know.
Thank you.
Comments
I actually had some code in the obp event of the footer of my first grouping, then decided that I needed to use the report totals, so I moved the code into the obp event of the Report Summary.
I actually had some code in the obp event of the footer of my first grouping, After that, the error appeared, but it does not make sense to me. When I run the script, all I get is a message box, with one OK button. After I press it, all I see is the report itself.
aggregates need to know what they are aggregating as all the databands have finished processing
the reason it worked in the footer is that it was in a logical place
the full syntax of the sum function is
sum(datafield or varname,bandname,1)
where bandname is the name of the databand where the datafield or var is located
the integer parameter indicates what type of agrregation: running total, include non visible records.