MyData is the correct name.

> 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.

---
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