Thats interesting.   I found that it works this way. Is this what you mean by one row arrays?  

I say if array3 contains this column then

So array3 looks like this.

5  F24956277  BA8BB3FF400BF2494534  1  10/23/2006 17:33:03  57236  Step 1
6  F24956277  BA8BB3FF400BF2494534  2  10/23/2006 17:33:40  57236  Step 2
7  F24956277  BA8BB3FF400BF2494534  3  10/23/2006 17:34:13  57236  Step 3
17 F24956277  BA8BB3FF400BF2494534  4  10/23/2006 21:55:34  57236  Step 4
20  F24956277  BA8BB3FF400BF2494534  5  10/23/2006 22:24:1  57236  Step 5

The column I am checking looks like this.         Step 1
 
If array3 CONTAINS Step 1 then do nothing, but if it doesn't, then do something.

Array 3 is a multiline array. The column isn't even an array by definition I don't think.

The next time through, it checks for Step 2. Again if Array3 contains it, then do nothing, but if it doesn't then do something. 

Maybe this is just a hard way to do something. But it works great. 

So what am I missing about one row arrays? 

Eric Weidl taught me this a long time ago. 4 to 5 years go. We have been using it every since. I just couldn't remember how to do it.  Brain fade, I am afraid. 

Again thanks to all.

Mark




On Oct 24, 2006, at 7:37 AM, Robert Garcia wrote:

Thats what I thought, I rarely use 1 row arrays, but I will have to remember  I can use on one row arrays.

-- 

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 Oct 24, 2006, at 6:49 AM, Stefan Gonick wrote:

Contains only works on one column or one row arrays.

At 11:50 PM 10/23/2006, you wrote:
Yes, I see that, just looked at docs. Haven't used it that way, and it doesn't describe if and how it works on arrays with more than one column, and how to specify that column. Do you use it this way?

--

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
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/

On Oct 23, 2006, at 7:36 PM, Stefan Gonick wrote:

Actually, contains does work on arrays.

At 09:44 PM 10/23/2006, you wrote:
contains is a string function, not an array function. It checks if a piece of text is in another piece of text. Take a look at <@filter>

--

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
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/

On Oct 23, 2006, at 6:27 PM, David Mark Weiss wrote:

Hi,

I would as I create a dynamic "select " statement, i would like to see if the option value is IN an array. or if the array contains the field as I loop through.


I have tried:

<@if expr="<@var name="array2"> contains @@list[<@currow>, 1]">
do nothing
<@else>
<option value="@@list[<@currow>, 1]">@@list[<@currow>, 1]</option>
</@if>

No Joy.

Can someone tell me what I am doing wrong?

Thanks for the help


Mark Weiss
http://trustthechildren.blogspot.com




________________________________________________________________________
TO UNSUBSCRIBE: Go to



http://www.witango.com/developer/maillist.taf



________________________________________________________________________
TO UNSUBSCRIBE: Go to


http://www.witango.com/developer/maillist.taf
=====================================================
Database WebWorks: Dynamic web sites through database integration
http://www.DatabaseWebWorks.com

CoachVille: For coaches and people taking teleclasses
http :// www.cvcommunity.com?af=69474

________________________________________________________________________
TO UNSUBSCRIBE: Go to

http://www.witango.com/developer/maillist.taf


________________________________________________________________________
TO UNSUBSCRIBE: Go to

http://www.witango.com/developer/maillist.taf

=====================================================
Database WebWorks: Dynamic web sites through database integration
http://www.DatabaseWebWorks.com

CoachVille: For coaches and people taking teleclasses
http :// www.cvcommunity.com?af=69474

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

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


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

Reply via email to