Offhand I see a few things.
First, you can't use IsDefined on an array like that
IsDefined("Form.MyArray[1][1]")
You can only check for the existence of the main variable
IsDefined("Form.MyArray")
Second, you dont need the #'s in this part, form.Astockid[1][#i#] NEQ ""
Last, why are you setting an array into the form scope? I tested it and it
does work, but I would consider it "wrong", so I am curious why you are
using it.
Could you possibly give me a larger sample of what you are working on? I'd
be happy to show you the right way to do it, but I'm confused about what I
am seeing so far.
--
Alan Rother
Macromedia Certified Advanced ColdFusion MX 7 Developer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250117
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4