Re: My solution:Variable IN a list? How to check?

2000-07-14 Thread Angél Stewart
Ok..here is the solution I came up with and Morning everybody =) !--- SECURITY CODE CFIF IsDefined('DeptID') CFLOOP INDEX="x" FROM="1" TO="#ListLen(form.DeptID)#" cfif ListContains(session.currentprivileges,ListGetAt(form.DeptID,x),",") EQ 0 cflocation url="#noclearance#"

Re: My solution:Variable IN a list? How to check?

2000-07-14 Thread paul smith
Only if it can talk (running and ducking ;-) At 07:56 AM 7/14/00 -0400, you wrote: Is this the most eloquent solution to the problem? -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe

RE: My solution:Variable IN a list? How to check?

2000-07-14 Thread Chris Evans
s" /CFIF /CFLOOP /CFIF !--- End SECURITY CODE -Original Message- From: Angél Stewart [mailto:[EMAIL PROTECTED]] Sent: Friday, July 14, 2000 7:56 AM To: [EMAIL PROTECTED] Subject: Re: My solution:Variable IN a list? How to check? Ok..here is the solution I came up with and

Re: My solution:Variable IN a list? How to check?

2000-07-14 Thread Angél Stewart
*drums fingers on desk* Comedians..everyone wants to be a comedian. I meant elegant. I think. *mutters* *sneaks off to the thesaurus* -Gel :-) - Original Message - From: paul smith [EMAIL PROTECTED] Only if it can talk (running and ducking ;-) At 07:56 AM 7/14/00 -0400, you

RE: My solution:Variable IN a list? How to check?

2000-07-14 Thread Sean Daniels
Ok..here is the solution I came up with and Morning everybody =) !--- SECURITY CODE CFIF IsDefined('DeptID') CFLOOP INDEX="x" FROM="1" TO="#ListLen(form.DeptID)#" cfif ListContains(session.currentprivileges,ListGetAt(form.DeptID,x),",") EQ 0 cflocation url="#noclearance#"

Re: My solution:Variable IN a list? How to check?

2000-07-14 Thread Eric Dawson
I think: el·o·quent (l-kwnt) adj. 1.) Characterized by persuasive, powerful discourse 2.) Vividly or movingly expressive is the word. Of course elegant is good too. Eric From: Angél Stewart [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: My solution:Variable

Re: My solution:Variable IN a list? How to check?

2000-07-14 Thread Angél Stewart
*thunks head to desk* What does that have to do wi *siigh* I don't even remember what I was trying to say anymore. 0_0 -Gel - Original Message - From: Eric Dawson [EMAIL PROTECTED] I think: el·o·quent (l-kwnt) adj. 1.) Characterized by persuasive, powerful discourse 2.)

Re: My solution:Variable IN a list? How to check?

2000-07-14 Thread Angél Stewart
Oh. Right. the NOT keyword. I'm going to rewrite the security code on all the pages to reflect this.. ... ... ... Not..:-) -Gel p.s. All jokes aside, thanks a lot for replying and giving an alternate solution. I really don't recall why I didn't use NOT, instead of EQ 0 :-) - Original

RE: My solution:Variable IN a list? How to check?

2000-07-14 Thread Chris Evans
[EMAIL PROTECTED] http://www.fuseware.com -Original Message- From: Angél Stewart [mailto:[EMAIL PROTECTED]] Sent: Friday, July 14, 2000 1:48 PM To: [EMAIL PROTECTED] Subject: Re: My solution:Variable IN a list? How to check? Oh. Right. the NOT keyword. I'm going to rewrite the security

Re: My solution:Variable IN a list? How to check?

2000-07-14 Thread paul smith
I started all this. My apologies, Angél best, paul PS ROFL ;-) At 01:37 PM 7/14/00 -0400, you wrote: *thunks head to desk* What does that have to do wi *siigh* I don't even remember what I was trying to say anymore. 0_0 -Gel - Original Message - From: Eric Dawson [EMAIL

Re: My solution:Variable IN a list? How to check?

2000-07-14 Thread Angél Stewart
Well..you wrote my name with the little é.. So all is forgiven ;-P I will change the code to reflect the changes with the NOT variable, although I think the privileges list and the department id should always be less than say 15 elements or so,it is more efficient than what I managed. Thanks