• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part 2: Week 2 At a Glance > Enhancing Output with Tables and Groups

Day 10. Enhancing Output with Tables and Groups

So far, the <CFOUTPUT> sections we've discussed have been designed simply to churn out the results of <CFQUERY> statements. We've used only basic paragraph or line-return tags to determine how the output displays in the user's browser. This design method works fine if a client's only aim is to display the contents of a database without any fancy formatting, but in the real world, your clients are likely to want more. They might want page data displayed in tables, grouped by type, or indexed for easy navigation. Today's discussion shows you how to make use of ColdFusion, SQL, and HTML features to enhance the look and readability of your output sections. We'll cover

  • ColdFusion's <CFTABLE> tag

  • Displaying ColdFusion output in standard HTML tables

  • Using <CFOUTPUT>'s GROUP parameter to organize output

  • Using SQL's DISTINCT parameter to create a page index


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint