Your right, I do need to get out more, but I still have som much to learn!!

Tim


-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 29, 2002 10:39 PM
To: CF-Talk
Subject: RE: Help with using query with [] notation


> I have waited for a while for this :)

That probably means you need to get out more!

> You can do this:
>
> myQuery['col_id']['rowNumber']

Yes, you certainly can. However, if you omit the array position, you'll get
an error - at least, that's been my experience. That is, if you do this:

<cfoutput query="qFoo">
        #qFoo["fieldname"]#<br>
</cfoutput>

you'll get an error. Also, I don't think that the first syntax example will
work prior to CF 4.5.x. You have to watch out on the margins of CF syntax;
things that are poorly documented (or not documented at all) may work well
in one version, but not another.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to