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>@@list[<@currow>, 1] No Joy.Can someone t
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.6
Thanks, I will take a close look.MarkOn Oct 23, 2006, at 6:44 PM, Robert Garcia 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 Developmen
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 - eventpi
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
thanks to Robert and Stefan. I knew it could be done, because I did it before on an app where we checked for permissions this way. Every user had permissions and we checked to see if the app he requested was in his permissions array. I couldn't find it, but I did do this and it worked. <@if expr="<
just a note, it is VERY important you always single quote the left and right sides of an _expression_, unless you are explicitly working with numbers.<@if expr="'<@var array3>' contains '<@VAR name="pipelinelist[[<@currow>,1]>'"><@else> -- Robert Garcia President - BigHead Technology VP Applicat
Robert,Thank you again. You are the best. You have taught me so much. MarkOn Oct 23, 2006, at 10:34 PM, Robert Garcia wrote:just a note, it is VERY important you always single quote the left and right sides of an _expression_, unless you are explicitly working with numbers.<@if expr="'<@var array3
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?
--
Robe
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 [EMAIL PROTECTED] - [E
IL PROTECTED]
Sent: Tuesday, October 24, 2006
9:49 AM
To: witango-talk@witango.com
Subject: Re: Witango-Talk:
Contains
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&
to designate one column/row of a two-dimensional array on-the-fly. Robert From: Stefan Gonick [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 24, 2006 9:49 AMTo: witango-talk@witango.comSubject: Re: Witango-Talk: Contains Contains only works on one column or one row arrays.At 11:50 PM 10/23/2006, y
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 thenSo array3 looks like this.5 F24956277 BA8BB3FF400BF2494534 1 10/23/2006 17:33:03 57236 Step 16 F24956277 BA8BB3FF400BF2494534 2 10/23/2006 17:33:40 5723
13 matches
Mail list logo