Consider also Matthew that it may be helpful to output the autoorders as well for debugging purposes. It, too, may not be what you expect.
For instance, if this code is in a CFC method, then you could be having a situation where other requests are causing conflicts with the variables. If you've not heard of it as an option, I appreciate that it will sound far-fetched. Like Cam said, let us know what you think and we can proceed. /charlie From: [email protected] [mailto:[email protected]] On Behalf Of Cameron Childress Sent: Wednesday, November 02, 2011 6:00 PM To: [email protected] Subject: Re: [ACFUG Discuss] List Handling First this I see is to try scoping your "id" var: <CFSET pos = ListFindNoCase(autoOrders, qryAuto.id) > If the value of "id" is remaining the same as the first query value, then it's always going to return 1 as the list position. You can also output the id value and it's list "pos" as a debug measure if you want... Either inline or using cflog or similar. <cfoutput>#id#:#pos#<br/></cfoutput> If that doesn't uncover your problem, shoot back an email. -Cameron ------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
