Adam - See Michaels earlier post - he suggested a method that I continually
use - - pretty simple and allows me to do some other things (like adding it
to field names in forms). Basically - you define the variable "recnumber" or
"count" and add to it each loop. - - I have had issues with currentRow and
RowCount - or whatever - but this always works.

<cfset count=1>
  <table id="tbl_people">
    <tbody>
      <tr>
        <th scope="col">Record Number</th>
        <th scope="col">Person</th>
        <th scope="col">Discipline</th>
        <th scope="col" width="132">Phone</th>
        <th scope="col">E-mail</th>
      </tr>
        <cfoutput query="getMember">
        <tr>
                <td>#count#</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:#netid#>#netid#</a></td>
          </tr>
        <cfset count=#count# +1>
        </cfoutput>
    </tbody>
        <cfset count=#count# - 1>
  </table>

 - Nick


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3128
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