I looked a bit into that , but  I waant a message only for that error, and
it doesn't seem like I can tell CFTRY to only catch the cfsearch error.
Please tell me if I am wrong.

-----Original Message-----
From: Gregory Harris [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 09, 2000 12:59 PM
To: [EMAIL PROTECTED]
Subject: Re: Error Handling


Hello Miriam.  While I'm not too familiar with the CFSearch tag, I would
imagine that the CFTRY/CFCATCH could pick up any such error and then you
have control over how you'd handle it.  Look up the CFTRY/CFCATCH
statements, use those and tell me how it works out.

Gregory Harris
Los Angeles ITA Dept.
[EMAIL PROTECTED]


>>> [EMAIL PROTECTED] 08/09 8:42 AM >>>
I am using CFSearch.  If the user enters "and","or", "'" then I get a CF
error.  I would like to catch only this error and display a message to the
user telling them that they entered invalid search criteria.

Thanks,

     ---miriam


----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=sts&body=sts/cf_talk or send
a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to