Re: IIF doesn't work correctly

2004-03-19 Thread Robert Everland III
I correct myself, the example works, but what I'm trying to do doesn't work. Can anyone look at this and see why it isn't working #iif(listlen(cgi.query_string, ) gt 1, Evaluate(DE(listdeleteat(listdeleteat(cgi.query_string, 1, ), 1, =))), DE(test))# The cgi query_string will have either

RE: IIF doesn't work correctly

2004-03-19 Thread Dave Watts
I was having some issues on IIF and thought I was using it correctly so I reverified it by looking at the examples in the book and if I copy an example directly out of the docs, it doesn't work. Try this in CFMX 6.1 #IIf(IsDefined(Form.Deliver), Evaluate(DE(Form.Deliver)), DE(no))#

RE: IIF doesn't work correctly

2004-03-19 Thread Pascal Peters
:45 To: CF-Talk Subject: Re: IIF doesn't work correctly I correct myself, the example works, but what I'm trying to do doesn't work. Can anyone look at this and see why it isn't working #iif(listlen(cgi.query_string, ) gt 1, Evaluate(DE(listdeleteat(listdeleteat(cgi.query_string, 1

Re: IIF doesn't work correctly

2004-03-19 Thread Robert Everland III
I figured it out, must not put double quotes. Bob I correct myself, the example works, but what I'm trying to do doesn't work. Can anyone look at this and see why it isn't working #iif(listlen(cgi.query_string, ) gt 1, Evaluate(DE(listdeleteat(listdeleteat(cgi.query_string, 1, ), 1,