in looking at your original code...arrayLen(QstnKey[1])-1 should do it (the -1 because one of the elements in the array is identifying it as "Test1")
i still think the array of structs is cleaner tho :) On Fri, 10 Dec 2004 15:08:50 -0400, Joy Holman <[EMAIL PROTECTED]> wrote: > I got the answer using my original code. > Today my question is: > Using that original code, how can I dynamically determine how many questions > are in Test1? The answer would be "2". > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - CFDynamics http://www.cfdynamics.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187081 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