>Move the cfoutput to AFTER the header row, like below.  To display a
>rowcounter use #currentRow# (inside the cfoutput of course)
>
>#currentRow#

Thank you for the suggestions.  I should have known better to leave the column 
headings out of the cfoutput to make them not repeat. :-X .  #currentRow# does 
insert the record number, but the style is not applied to the output:

<cfoutput query="getFaculty">
  <tr>
    <td>#currentRow#</td>
    <td>
      <h3>#firstName# <cfif Trim(middleName) is 
"">#lastName#<cfelse>#middleName# #lastName#</cfif></h3>
      <p>#office#</p>
      <ul>
        <li><h4>#title#</h4></li>
      </ul>
    </td>
    <td>#discipline#</td>
    <td>#phone#</td>
    <td><a href="mailto:[EMAIL PROTECTED]" class="spamspan">[EMAIL 
PROTECTED]</a>           </td>
  </tr>
  </tbody>
</table>
</cfoutput>

Would some type of loop be appropriate to loop through the output to be 
displayed and count it as it is displayed?  I'm not too certain how to go about 
it.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3127
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to