That was to ensure that you only stored the first record's values, in
case there were multiple records from the query.

M!ke 

-----Original Message-----
From: Mark Fuqua [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 19, 2005 7:40 PM
To: CF-Talk
Subject: RE: looping over the fields of a one record query

Worked like a charm.  Why [thisone][1]? What does the [1] do?  It seems
like it would be

<cfset session[thisOne] = areaJobInfo[thisOne]>

Also, how does cf know the variable name and value?

Thanks for the lesson,

Mark

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218736
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to