-
September 30th, 2013, 08:27 AM
#1
crystal report 4.6 with vb6
i am using crystal report 4.6 with vb6. I am unable to generate reports from a password protected access file through vb6. my codes are as follows.
strReportName = "maxusedtools.rpt"
With CrystalReport1
.Connect = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & App.Path & "\ATMSVS.mdb; PWD=AsthaShiban@Aryan"
.ReportFileName = GetAppPath() & strReportName
.DataFiles(0) = GetAppPath() & "ATMSVS.mdb"
.Password = Chr(30) & "AsthaShiban@Aryan"
.Destination = crptToWindow
.Action = 1
End With
its urgent anybody please help
-
October 1st, 2013, 01:42 PM
#2
Re: crystal report 4.6 with vb6
Code:
strReportName = "maxusedtools.rpt"
With CrystalReport1
.ReportFileName = GetAppPath() & strReportName
.DataFiles(0) = GetAppPath() & "ATMSVS.mdb"
.Password = Chr(10) & "AsthaShiban@Aryan"
.Destination = crptToWindow
.Action = 1
End With
JG
... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|