> ah, but if i know how to use cfif and dateformat, then I will 
> not have a
> problem with:
> queryname["fieldname"][rownumber]

So there are two best solutions for CF 7 and below:

1) <cf_data_list query="myQuery">
        <cf_column
headerText="Date"><cfoutput>#myQuery.name[myQuery.currentRow]#</cfoutput></c
f_column>
    </cf_data_list>

2) <cf_data_list query="myQuery" rowVariable="rowNumber">
        <cf_column
headerText="Date"><cfoutput>#myQuery.name[rowNumber]#</cfoutput></cf_column>
    </cf_data_list>

Making another tag is not as efficient as the above ones, since tags cannot
be used as function parameters.
Murat.

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Kerry
> Sent: Wednesday, February 23, 2005 8:00 PM
> To: CFCDev@cfczone.org
> Subject: RE: Re[2]: [CFCDev] query object (was: Using 
> application.cfc to modify the request stream)
> 
> ah, but if i know how to use cfif and dateformat, then I will 
> not have a
> problem with:
> queryname["fieldname"][rownumber]
> 
> perhaps another tag!
> 
> <cf_getcolumnvalue column="name" returnvariable="myname">
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Murat Demirci
> Sent: 23 February 2005 17:17
> To: CFCDev@cfczone.org
> Subject: RE: Re[2]: [CFCDev] query object (was: Using 
> application.cfc to
> modify the request stream)
> 
> 
> In this case, you cannot use tags and functions (like cfif, 
> cfinput and
> dateFormat()) to format values before displaying them.
> 
> Murat.



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
cfcdev@cfczone.org with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at
www.mail-archive.com/cfcdev@cfczone.org

Reply via email to