Hi ray,
thanks!

Yes, I was asking both questions.
You are right when in the  Application.cfc file I have:
component {   
  this.datasource = "myDSN";
}

I don't have to use it in the cfquery, I can just do:
<cfquery name="rs_date">
        SELECT email_address, name
        FROM users 
</cfquery>

this is great!

I am also trying to learn how to use this style in my other cfcs, is it you 
replace the  tags, with the script style?
thanks so much for explaining the setting the datasource in the 
Application.cfc, and that you don't have to use it anymore in cfquery ;)
John



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5797
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to