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!

Passing Login Info Using InteractiveViewer.ASP

Status
Not open for further replies.

benchmarkTech

Programmer
Jan 28, 2003
3
US
Crystal Folks:
I'm trying to get around the login request that appears when launching a .RPT via InteractiveViewer.ASP (shipped with RAS). Is there a URL parameter (like "username" and "password") that I can use in addition to "ReportName"? I haven't found a way to save a specific login DSN, username or password to the report itself. Am I hosed?
Thanks!
-Brad
 
Here's the ASP code that I use to display a report and avoid the prompt for username & password.

<%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:
 
I am new to Crystal Reports. Can you give me a basic example of how to use this within an ASP page to call this report or multiple reports. I have 5 reports that need to be displayed and then the user clicks which report they want. Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top