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

Dynamic Report heading

Engaged ,
May 17, 2013 May 17, 2013

Copy link to clipboard

Copied

I have a stored procedure from MS SQL backend and the result heading is WeekResult1, WeekResult2, WeekResult3... etc until Week20Result for report datasource.

I would like to assign the heading at run time to May/01/2013, May/08/2013, May/15/2013 ... etc base on user enter date range.

I have folloing code on report before export event

<cfstoredProc
datatsource = "MySource"
procedure = "MyColumnHeading"

<cfprocparam
    cfsqltype="cf_sql_date"
    value="#StartDate#">

<cfprocparam
    cfsqltype="cf_sql_date"
    value="#EndDate#">

<cfprocparam
    cfsqltype="cf_sql_date"
    value="#StartDate#">

<cfprocparam
    cfsqltype="cf_sql_numeric"
    value="#DateDiff#">

<cfprocparam
    cfsqltype="cf_sql_numeric"
    value="#DateDiffType#">


>

I would like to know how can  I assign my 20 columns heading record by record from stored procedure result.

Your help and information is great appreciated,

Regards,

Iccsi

TOPICS
Reporting

Views

1.1K

Translate

Translate

Report

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
Engaged ,
May 20, 2013 May 20, 2013

Copy link to clipboard

Copied

The label is control on the client, if Rebort Builder Support Javascript then it should be able to change caption of label using javascript,

Regards,

Iccsi

Votes

Translate

Translate

Report

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
Advocate ,
Sep 17, 2013 Sep 17, 2013

Copy link to clipboard

Copied

Are you talking about tabular columns (fixed columns) or report columns (dynamic flow)?

Votes

Translate

Translate

Report

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
Engaged ,
Sep 17, 2013 Sep 17, 2013

Copy link to clipboard

Copied

I need change the column heading base on user selection,

Regards,

Iccsi,

Votes

Translate

Translate

Report

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
Advocate ,
Sep 17, 2013 Sep 17, 2013

Copy link to clipboard

Copied

LATEST

Okay. See my response to your other thread on this issue.

Votes

Translate

Translate

Report

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
Documentation