hello,
 
im trying to take the results of a query and store it in an element of an array as a comma delimited list.  The problem im having with doing this is a tango error.
 
I tried this:

<@assign local$orders[@@local$vrowcount,5] value="<@var local$resultset aprefix='' asuffix='' rprefix='' rsuffix='' cprefix='' csuffix=','>">

and i get a tango error:

Invalid value specified. Previous value has been used.
orders[1,5]

Meta Stack Trace:

Line Meta Tag
0001 <@assign local$orders[1,5] value="<@var local$resultset aprefix='' asuffix='' rprefix='' rsuffix='' cprefix='' csuffix=','>">

local$orders[1,5] does exist so i know thats not the problem.
 
SInce that didnt work i tried assigning it first to a temporary variable like this:

<@assign local$temp value="<@var local$resultset aprefix='' asuffix='' rprefix='' rsuffix='' cprefix='' csuffix=','>"><br><br>

<@assign local$orders[@@local$vrowcount,5] value="@@local$temp">

and i get a tango error like this:

Invalid value specified. Previous value has been used.
orders[1,5]

Meta Stack Trace:

Line Meta Tag
0007 <@assign local$orders[1,5] value="
C
FS
GS
W
">

It looks like its not really converting it to a comma delimited list when it tries to store it to a different place internaly...anyone know how to get around this?

Thanks!

Atrix

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to