<cfif StructKeyExists(URL,'group') AND url.group NEQ 'me'> do something here</cfif>
</cfif> On Apr 7, 2005 11:59 AM, Daniel Kessler <[EMAIL PROTECTED]> wrote: > It seems to me, that to use a url variable (or any type really) that > I have to check for the variable before I can use it, otherwise I > receive an error saying that it doesn't exist. In the example, I > can't just do the interior IF so wherever I use this as a decision > point, there's always two sets of IFs and indents. > > Is there a better way? > > <cfif StructKeyExists(URL,'group')> > > <cfif url.group NEQ 'me'>do something here</cfif> > > </cfif> > > thanks. > > if'n along.... > > -- > Daniel Kessler > > Department of Public and Community Health > University of Maryland > Suite 2387 Valley Drive > College Park, MD 20742-2611 > 301-405-2545 Phone > www.phi.umd.edu > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:201843 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

