Crystal Report 4.6 in vb6
i did program with vb6 and in this program i use close data base with password and i can call the data base in my program but the problem that i have report in my program and this report designed in Crystal Report 4.6 and the main problem that when i call the report in my program it says to me enter the password of data base so how can i make the report access the closed data base by it self .
by example :
my data base :
Dim db As dao.Database
Set db = DBEngine.OpenDatabase(App.Path & "\data.mdb", _
False, False, ";pwd=123")
i call the report like this :
cryst1.ReportFileName = (App.Path & "\myreport.rpt ")
cryst1.Action = 0
after this when i running my prgram and want execute the repoert
message come to me says to me enter data base password
and after i enter it it work good
plzzzzzzzzzzzzzz
helppppp meeeeeeee
Alaa
|