This may have been solved before, if so, my apologies.

I have an array with names, addresses, etc.  I want to sort it by last name.
I can get this accomplished, but this would lose the connection with another
array that has a column I need in it.  This array is assorted by a unique
number from that is tied to the first array's names.

I would like to add the one column from the second array to the first array.

Here's what I've got so far:

<@ASSIGN NAME="temp1" VALUE="@@resultset" SCOPE="request">

(One row)

<@ADDROWS ARRAY="array_2" VALUE="@@request$temp1" SCOPE="user">

(Building array with the one row at a time)

I've tried to add the other column to this array this way:

<@ADDROWS ARRAY="array_2"
VALUE="@@request$temp1,@@request$array_1[@@counter,column1]" SCOPE="user">

Ideas?  Suggestion?  Where am I messing up?

Thanks in advance.


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

Reply via email to