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

Dynamic Column Names

New Here ,
May 18, 2006 May 18, 2006

Copy link to clipboard

Copied

I've looked through the forums and found some posts that gave me a start, but now I'm stuck.

I have a page with checkboxes that will allow the user to select the columns in a dynamic table. I named them all the same so i have a CFOUTPUT of a comma delimited list of the field names on the action page.

How do i get that list of column names into a table? I read something about myquery.columnlist, but i dont know how that would help.

Thank you for your help.
TOPICS
Advanced techniques

Views

344

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
Guest
May 18, 2006 May 18, 2006

Copy link to clipboard

Copied

Are you wanting to use these column names as column headings in a HTML table?

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
New Here ,
May 18, 2006 May 18, 2006

Copy link to clipboard

Copied

Yes i want the column names to basically be the first row of the table.

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
Guest
May 18, 2006 May 18, 2006

Copy link to clipboard

Copied

Assume the check boxes are named col. Then the code below will do the job.

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
Explorer ,
May 19, 2006 May 19, 2006

Copy link to clipboard

Copied

LATEST
Just to demonstrate that Evaluate() is not needed to output the query-data:

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
New Here ,
May 18, 2006 May 18, 2006

Copy link to clipboard

Copied

thank you for your help

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