Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Problem with report function in CF Report Builder

New Here ,
Mar 30, 2010 Mar 30, 2010

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

TOPICS
Reporting
516
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 30, 2010 Mar 30, 2010
LATEST

Found the answer in one of the old discussions.

Correct syntax is report.functionname(). I was using report.functionname.

Thanks anyway!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources