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

Altering Displayed Data

New Here ,
May 01, 2006 May 01, 2006

Copy link to clipboard

Copied

I have a query that returns the following data:

Meta_subject | Releaseid | Title
1000 381 Blah
2275 381 Blah
1000 291 Foo
2585 291 Foo

How do I get it so that the title will only print once when I display the title. I tried using an <cfif> statement, but it didn't work. I only want to title to print once if the releaseid is the same.

Any ideas?
TOPICS
Advanced techniques

Views

175

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

correct answers 1 Correct answer

Mentor , May 01, 2006 May 01, 2006
Order by Title and Releaseid in your query, then use the GROUP attribute in CFOUTPUT to group by Title.

Phil

Votes

Translate

Translate
Mentor ,
May 01, 2006 May 01, 2006

Copy link to clipboard

Copied

LATEST
Order by Title and Releaseid in your query, then use the GROUP attribute in CFOUTPUT to group by Title.

Phil

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