Copy link to clipboard
Copied
Hi,
I'm trying out the CF Report Builder for the first time and am having trouble displaying a report.functionname field. As you can see below the description is jumble up. Any ideas on what I'm doing wrong? Are there any books available that would help me with Report Builder?
1 | cfDT2ecfr1344341410$funcLINE@76 0031 | 0 | 0.000 | 0.600 | |
2 | cfDT2ecfr1344341410$funcLINE@76 0031 | 5 | 600.000 | 60.000 | |
3 | cfDT2ecfr1344341410$funcLINE@76 | 5 | 15000.000 | 1500.000 | EACH |
The cfunction code I'm using is pretty simple:
<cffunction name="line">
<cfset arguments.name = ''>
<cfif Trim(arguments.Name) NEQ "">
<cfset variables.ResultVar='match'>
<cfelse>
<cfset variables.ResultVar='no match'>
</cfif>
<cfreturn variables.ResultVar>
</cffunction>
Thanks,
Shannon
Copy link to clipboard
Copied
Found the answer in one of the old discussions.
Correct syntax is report.functionname(). I was using report.functionname.
Thanks anyway!