thanks Charlie, Jim

that was it.

Gil

-----Original Message-----
From: Jim Davis [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 24, 2005 1:34 AM
To: CF-Talk
Subject: RE: list problem, displaying "CHECKED" listboxes


> -----Original Message-----
> From: Charlie Griefer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 24, 2005 12:19 AM
> To: CF-Talk
> Subject: Re: list problem, displaying "CHECKED" listboxes
>
> you want to use listContains() instead of listFind(), I believe.

I think that Charlie means the other way around, reversed, back-a-ward to
for-a-ward.  You want to use ListFind()

"ListContains()" returns true of the string exists in ANY of the list
elements: so "1", "2" and "12" are all contained in the list "12".

However "ListFind()" matches the exact element - so "1" and "2" cannot be
found in the list "12" but "12" (obviously) can be.

"Contains" in CF is always a content search, not a match (you can use
"Contains" as an evaluation operator as well).

Jim Davis






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199873
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to