cfif contains

2010-10-17 Thread Rick Sanders
How can I do a cfif contains? Error I am getting: You have attempted to dereference a scalar variable of type class java.lang.String as a structure with members. The error occurred in E:\Websites\nscomputers\systembuilder2.cfm: line 6 4 : cfif #Trim(cpu.description

Re: cfif contains

2010-10-17 Thread Phillip Vector
1. No need for # inside the cfif. :) 2. You shouldn't need to trim it if you use a contains. 3. You set CPU to a single value of AMD. Therefore, cpu.description doesn't exist anymore. On Sun, Oct 17, 2010 at 2:03 PM, Rick Sanders c...@webenergy.ca wrote: How can I do a cfif contains? Error

RE: cfif contains

2010-10-17 Thread Rick Sanders
Subject: Re: cfif contains 1. No need for # inside the cfif. :) 2. You shouldn't need to trim it if you use a contains. 3. You set CPU to a single value of AMD. Therefore, cpu.description doesn't exist anymore. On Sun, Oct 17, 2010 at 2:03 PM, Rick Sanders c...@webenergy.ca wrote: How can I do

cfif contains #variable# failure?

2002-01-15 Thread Brian Scandale
This tag does not seem to work like I would expect. Can anyone shed some light? Very little in the docs about this. I quote the only reference... CONTAINS determines whether the value on the left is contained in the value on the right. Returns true if it is. cfif REWORK CONTAINS

RE: cfif contains #variable# failure?

2002-01-15 Thread Brian Scandale
Sorry, Figured it out... cfif REWORK LOOP CONTAINS Client.TravType is the correct syntax... sheepish_grin Brian This tag does not seem to work like I would expect. Can anyone shed some light? Very little in the docs about this. I quote the only reference...

RE: cfif contains #variable# failure?

2002-01-15 Thread Dunwiddie, Bruce
Subject: cfif contains #variable# failure? This tag does not seem to work like I would expect. Can anyone shed some light? Very little in the docs about this. I quote the only reference... CONTAINS determines whether the value on the left is contained in the value on the right. Returns true

RE: cfif contains #variable# failure?

2002-01-15 Thread Dirk Sieber
, January 15, 2002 12:59 PM To: CF-Talk Subject: cfif contains #variable# failure? This tag does not seem to work like I would expect. Can anyone shed some light? Very little in the docs about this. I quote the only reference... CONTAINS determines whether the value on the left

RE: cfif contains #variable# failure? -- Answer

2002-01-15 Thread Brian Scandale
you're looking for the word 'Rework' in Client.TravType, which seems to be what you're doing). Dirk -Original Message- From: Brian Scandale [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 12:59 PM To: CF-Talk Subject: cfif contains #variable# failure? This tag does