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!

DSN-less connection in ASP page using NT authentication

Status
Not open for further replies.

dokken

Programmer
Mar 7, 2001
61
US
I currently have a CR that is called from an ASP page that uses a DSN. Here is the code:
set objTable = Session("oRpt").database.tables.item(1)
objTable.setlogoninfo "DSNName","DBName","userid","password"

This works fine, but I would like to use a DSN-less connection. My question is how do I get the report to see the database? I saw the following code in the sample apps that came with CR:
Table1.SetPrivateData 3, session("oRs")

I don't want to use a specific Recordset though. Any ideas?

Thanks,
Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top