Hi Tim,
Doah!!
For got the rest of the code.... I know that there are comments but that is
what its suppose to do....
and yes its mainly for debuging...
<cfcomponent extends="Comp_Menu">
<!--- <cffunction access="remote"
name="Menu"
output="true"
returntype="query"
displayname="Menu"
hint="Menu Page">
<cfquery name="testQuery" datasource="northwind">
SELECT *
FROM customers
</cfquery>
<cfoutput query="TestQuery">Custom
#TestQuery.ContactName#<br></cfoutput>
<cfreturn testQuery>
</cffunction> --->
</cfcomponent>
"Tim McAuliffe" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Hi Jeremy,
>
> What's the component that does the inheritance look like? You just posted
> the 'core' code. Also, any reason why you're doing a <cfoutput> in this
> component. Is it just for debugging purposes?
>
> Cheers
>
> Tim
>
> "Jeremy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> >
> > Hey,
> >
> > Got a question...and I'm stuck...
> >
> > I have a CFC which uses inheritance. I use the first part of the code as
> the
> > "Core" and the second part of the code as "Custom" And its not working.
> > Below is the code:
> >
> >
> > CORE
> > <cfcomponent>
> > <cffunction access="remote"
> > name="Menu"
> > output="true"
> > returntype="query"
> > displayname="Menu"
> > hint="Menu Page">
> >
> > <cfquery name="testQuery" datasource="northwind">
> > SELECT *
> > FROM customers
> > </cfquery>
> >
> > <cfoutput
query="TestQuery">BLA#TestQuery.ContactName#<br></cfoutput>
> > <cfreturn testQuery>
> > </cffunction>
> > </cfcomponent>
> >
> >
> >
> >
> >
> >
>
>
>
>
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/