Why not simply
<cfif isdefined("aStruct.aField")> ?
----- Original Message -----
From: "Dave Watts" <[EMAIL PROTECTED]>
You could rewrite this test to look like this:
<cfif IsDefined("aStruct") and StructKeyExists(aStruct, "aField")>
This clearly describes the two tests you're running.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists