> > #report.calcNextAudit(param.startAudit, param.voids)#
Not sure I entirely get you, but I'm assuming the above line of code is within a loop within a cfquery block? Perhaps something like this is what you are after: <cfset param.startAudit = #report.calcNextAudit(param.startAudit, param.voids)#> #param.startAudit# This way, the next time the code comes around, your startAudit value shouldn't get stuck. HTH Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299811 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

