hi

Use the following small code to access login and password from crystal report.

crCommon.LogonInfo(0)= "dsn=;uid=;pwd=Hello;dsq="
crCommon.DataFiles(0)= "C:\Mydata.mdb"

yours friendly,
k.Babu

Originally posted by nazimocp
Hello babu.

Please help me how i can access password protected database in crystal reports 8.0 with vb6 .how i can pass password at runtime to crystal reports please answer me soon.

Thanx in Advance.
Nazim