is this the actual query tag?
<cfquery name="getOfficeLocs" datasource="mydata">

or did you just replace the datasource value with myData to cover a variable
name for the post?

Steve

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of WALTERS
Scott
Sent: Thursday, January 22, 2004 12:39 PM
To: CFAussie Mailing List
Subject: [cfaussie] RE: custom tag weirdness


>> <cfoutput>#SelectedOfficeID#</cfoutput><cfabort>
>> <cf_SelectOffices SelectedOfficeID="#SelectedOfficeID#" Debug="true">

>I tried adding <cfparam name="SelectedOfficeID" default="0">
>above the abort line, which does as expected, writes a 0 as output without
>an error.

cfparam would only have set a default value if SelectedOfficeID was not
defined. If you remove the <cfabort> after cfparam'ing the variable does it
work?

Scott.

IMPORTANT NOTICE: This e-mail and any attachment to it are intended only to
be read or used by the named addressee. It is confidential and may contain
legally privileged information. No confidentiality or privilege is waived or
lost by any mistaken transmission to you. The RTA is not responsible for any
unauthorised alterations to this e-mail or attachment to it. Views expressed
in this message are those of the individual sender, and are not necessarily
the views of the RTA. If you receive this e-mail in error, please
immediately delete it from your system and notify the sender. You must not
disclose, copy or use any part of this e-mail if you are not the intended
recipient.

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to