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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report with passworded DB

Status
Not open for further replies.

zqtqzq

Programmer
Jul 23, 2003
61
A2
pls how can i open from inside vb a CR report designed using a passworded Database.
I am using vb6, crystal report 8.5 with Access 2000 Database.

I passed my connection string to the Control Connect property like this

cr.connect=oCnn.Connectionstring

my connection string has something like
"Provider=...;data source=c:\mydatabase.mdb;Jet OLEDB:password=myPswd"

when i try to open the report from my vb module, i get the error
Incorrect Session parameter

Can i really used a passworded database with CR8.5

thanks in advance as you are willing to offer me help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top