>well, the 2nd dimension of the first array contains the # of answers >to test 1 (again, minus 1 since the first element of the 2nd dimesion >is specifying the test #). > >so loop over the first dimension and do an arrayLen() - 1 on the >second dimension. > ><cfoutput> > <cfloop from="1" to="#arrayLen(QstnKey)#" index="i"> > Test #i#: #arrayLen(QstnKey[i]) - 1# Questions<br /> > </cfloop> ></cfoutput> > >This works, since multi-dimensional arrays in CF are just 1d arrays of >1d arrays. > >(disclaimer: the #arrayLen(QstnKey[i]) - 1# notation will not work pre-CFMX) > > This totally works. Thanks. Sorry I didn't get back sooner. I was working on other things.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187600 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

