Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP Login for Subreports

Status
Not open for further replies.

vannojl

Technical User
Dec 11, 2001
11
US
I have a report that shows our help desk's performance metrics. Some of these metrics come from our CRM database, and some come from our ACD database. This report is a main report with subreports gathering data from different MS SQL servers.

When calling a report with only one data source, the ASP code below works perfectly, but when calling reports with multiple data sources, it is prompting for multiple sets of login information.

My ASP code for calling the report is:

<%reportname = &quot;report.rpt&quot;%>
<!-- #include file=&quot;AlwaysRequiredSteps.asp&quot; -->
<% clientDoc.databaseController.logon &quot;username&quot;,&quot;password&quot; %>
<!-- #include file=&quot;CrystalReportsInteractiveViewer.asp&quot; -->

Where AlwaysRequiredSteps.asp and CrystalReportsInteractiveViewer.asp come from:
Is it possible to set the username & password for each subreport or data source?

Joe Van Norman
ABS Associates
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top