wrap it with CFTRY, and use CFCATCH to handle errors.
You could try <CFIF StructFind()... syntax, but I'd assume that the
exception is still thrown using this method. try and catch should work fine
for you, though
~Simon
~Simon
-----Original Message-----
From: Lee Surma [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 02, 2000 12:00 PM
To: CF-Talk
Subject: StructFind
StructFind throws an error when it doesn't find the key. How do I get around
this?
--
_____________________________
Lee Surma
Public Radio International
[EMAIL PROTECTED]
612-330-9223
_____________________________
----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]