Getting CFOUTPUT to Repeat

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Getting CFOUTPUT to Repeat

    Hi, I have a database that holds a Table called Authors. I also have a table
    called Pub_Info which holds a lot of publications written by these authors. My
    dilemma is when i query the database for the publication Title, LInk to
    Publication (pdf format), and Author's Name, i get all the Publications from my
    database, but it only prints 1 author's name. Each publication has multiple
    authors. How can i get it to where all of the author's names are printed on
    the screen?

    otowny407 Guest

  2. Similar Questions and Discussions

    1. background-repeat: repeat-x in HTML? Please help!
      I want to have a "centered page" look full screen...I have made them using layers and CSS but if I need it to work in most browsers how do I do the...
    2. Cfoutput help!!!
      I am trying to figure out how to output records from a query that is returing 2 distinct table rows from each query. THe out put needs to look like...
    3. cfoutput and css
      I declare an entire document within a <cfoutput> </cfoutput> section. I am trying to insert the following css style descriptor into the code: ...
    4. cfoutput and cfloop
      Hi all, well this is my question: I want to show 2 or more different sets of record sets but one or more of them have to be nested on the first,...
    5. <cfoutput>
      Hi. I'm trying to rename a file but I get an error message. My code looks someting like this: <cfset source='C:\MyDocs\old.doc'> <cfset...
  3. #2

    Default Re: Getting CFOUTPUT to Repeat

    If you do something like <cfoutput>#query_name.column#</cfoutput> you are only
    going to get one value. On the other hand, if you do <cfoutput
    query="query_name">#column#</cfoutput> you will loop through each row returned,
    and see all of your data. You can also use the query attribbute in cfloop, but
    cfoutput should work just fine.

    Phil

    paross1 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139