[Top] [All Lists]

DSN and cfreport

Subject: DSN and cfreport
From: "Keiko"
Date: Wed, 15 Aug 2007 04:36:31 +0000 UTC
Newsgroups: macromedia.coldfusion.cfml_general_discussion
 Dear all,

 Let's say I have one application where users can choose to connect to more 
than one databases (live, development, etc).
 I use one DSN for each database connection, so in this moment I have 3 
databases with 3 DSNs.

 My question is how to let the cfreport know which DSN to use. I tried to use 
<cfreport datasource = "#Session.gStrDSN#"> but it doesn't work. Datasource 
property is used only by Crystal Report.

 Looking forward for your reply.

 Thanks in advance

<Prev in Thread] Current Thread [Next in Thread>