|
What I am doing is bring back information from a 30 column
table and putting it into an array. The array is used to create a
selection form using the unique id for the checkbox value. After the
submit, I use the <@POSTARG NAME='a_userid' TYPE=ARRAY> to create an one column array of the checked selections.
What I am
trying to do is to use the selected values to bring back data from the orignial
array to create a confirmation page before I preform the next action.
Since I already have the data in an array I thought I could use it. The
<@union> tag won't work because it combines. The <@intersect>
tag requires that the two arrays have the same number of columns. May
be I should just use an another Direct DBMS action
instead.
Ted From: Robert Garcia [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 3:14 PM To: [email protected] Subject: Re: Witango-Talk: filtering arrays Try something like this, since it is a comma delimited list, you can turn
into an array and filter. You can turn into array with the <@array> tag,
or:
<@assign request$temp <@transpose <@tokenizer "<@var
request$vdeletelist>" chars=",">>
<@! now you have a 1 column array with you items >
Then you can use <@union> to see where the arrays intersect. --
Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
On May 4, 2005, at 12:01 PM, Ted Wolfley wrote:
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf |
- RE: Witango-Talk: filtering arrays Ted Wolfley
- RE: Witango-Talk: filtering arrays Robert Shubert
- Re: Witango-Talk: filtering arrays Robert Garcia
- Re: Witango-Talk: filtering arrays Robert Garcia
- RE: Witango-Talk: filtering arrays QSN Janet Case
- RE: Witango-Talk: filtering arrays Ted Wolfley
- Re: Witango-Talk: filtering arrays John McGowan
- RE: Witango-Talk: filtering arrays Ted Wolfley
