By changing the name of the datasource in this line of code.

<cfquery name="GetRefences" datasource="#REQUEST.dataSource#">
         SELECT topic
         FROM reference
         ORDER BY topic
</cfquery>

You will need to remember that it will have to be added to the datasources
in the admin of CF, also I would not be using the request to structure to
store the name of the DS either. I would be more inclined to store it in the
application scope, this way it stays around longer.

Regards,
Andrew Scott
http://www.andyscott.id.au/



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:5331
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to