Hi Miriam and Greg,

Greg said:
|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]

Miriam Said:
|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

You could always use findfirst on your search criteria for each of the
illegal character sets and when you get a non-zero response give an error
message.

Regards,
Anthony Geoghegan
Lead Developer
Ireland Film and Television Net
26 South Frederick Street
Dublin 2
Ireland
Tel: +353 1 671 3664
Fax: +353 1 671 0763
Web: www.iftn.ie www.wow.ie
mailto:[EMAIL PROTECTED]

NOTICE:
This communication is confidential.  The copyright in this communication
belongs to Ireland Film & Television Net (IFTN) or a third party.

If you are not the intended recipient of this communication please delete
and destroy all copies and telephone IFTN on +353 1 671 3664 immediately.
If you are the intended recipient of this communication you should not copy,
disclose or distribute this communication without the authority of IFTN.

Any views expressed in this communication are those of the individual sender
except where the sender specifically states those are of view of IFTN.

Except as required by law IFTN does not represent, warrant, and/guarantee
that the integrity of this communication has been maintained or that the
communication is free of virus, interception or interference.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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