> <CFIF myquery.CurrentRow NEQ myquery.RecordCount>  
>
> Worked perfectly.

Just out of interest, you could use one of the methods of the underlying
coldfusion.sql.QueryTable java object of the query: isLast()

For example, to output a list of names from a query with a comma between
each, you don't want a comma added afte rthe last one, so:

<cfoutput query="variables.myQuery">
  #variables.myQuery.name#
  <cfif NOT variables.myQuery.isLast()>,</cfif>
</cfoutput>

And before anyone says, yes I know you can use valuelist() - it's just a
simple example...  :)

Tim.

-------------------------------------------------------
RAWNET LTD - Internet, New Media and ebusiness Gurus.
WE'VE MOVED - for our new address, please visit our
website at http://www.rawnet.com/ or call us any time
on 0800 294 24 24.
-------------------------------------------------------
This message may contain information which is legally
privileged and/or confidential.  If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of rawnet limited,
unless otherwise explicitly and independently indicated
by an authorised representative of rawnet limited.
-------------------------------------------------------
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to