tracker issue : CF-3040370

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 80531:(Watson Migration Closure)There is no native cfscript equivalent for looping over a query data set within cfscript

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Nathan Strutz / Nathan Strutz (Nathan Strutz)

Created: 10/30/2009

Components: Language, CFSCRIPT

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Minor / Some users will encounter

Locale/System: English / Platforms All

Vote Count: 1

Problem:

There is no native cfscript equivalent for looping over a query data set within cfscript. This code does not work:[...]queryData = queryService.execute(sql="select * from table").getResult();


for(queryData) { 
   recordcount;
   currentrow; 
}
Method:

Use the code in the summary provided.
Result:

Invalid CFML construct

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3040370

External Customer Info:
External Company:  
External Customer Name: Nathan Strutz
External Customer Email: 36EC2AB9446105B39920157F
External Test Config: 10/30/2009

Attachments:

Comments:

This bug has been voted..
Vote by External U.
22581 | November 11, 2011 12:40:03 AM GMT