> There seems to be little literature I can find on the ListGetAt command, so > my question is: what is the proper syntax to add '1' my > #ListGetAt(form.MonthID,1)#? In other words, this returns a number, and I > want it to return a number plus 1. >
Yet another way to add to one to a number is : newVal = Increment(ListGetAt(form.MonthID,1)); BTW : ListGetAt(form.MonthID,1) is the same as ListFirst(form.MonthID) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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.

