Up to this point I had only worked in a one dimensional array. (i.e.
bannerImg[0] = "somebanner1.gif", bannerImg[1] = "somabanner2.gif" etc.) Now
I need to capture 6 fields for each row. I had thought to do what you
outlined but got lost with the multi-dimensional array. Would the code for
the 2 dimensional array be like this?
<CFOUTPUT QUERY="your query">
customerInfo[#currentrow#][ID] = '#customerID#';
customerInfo[#currentrow#][Name] = '#customerName#';
etc..
</CFOUTPUT>
I truly appreciate all the help and your patients with me.
Thanks,
Kevin
_____
Do you know how to do _javascript_ arrays? Wrap your _javascript_ array creation
code in a CFOUTPUT and create them in CF, the browser will load the page and
create the _javascript_ array.
rough example:
<script>
// create your _javascript_ array
<CFOUTPUT QUERY="your query">
somejsarray[#currentrow#] = '#somefieldname#';
</CFOUTPUT>
</script>
HTH
Aaron
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

