> I don't know if this is the best way to do it, but this
> should work:

> for (i = 1; i lte myQuery.recordcount; i=i+1)
> {
>       if (myQuery.myColName[i] IS 1)
>               myVar = 1;
> }

Though I'd put {} around the if clause...

if (myQuery.myColName[i] is 1) { myVar = 1; }

But I'd say that's generally the way to go about it.


s. isaac dealey                954-776-0046

new epoch                      http://www.turnkey.to

lead architect, tapestry cms   http://products.turnkey.to

certified advanced coldfusion 5 developer
http://www.macromedia.com/v1/handlers/index.cfm?ID=21816


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to