|
-
Jun 2nd, 2008, 01:37 AM
#1
Thread Starter
New Member
VB6.0 and Crystal Report9
Hi Guys,
Can any one tell me how to call a report build in crystal Report9 from VB6.0
thnxs in Advacned,
Regards,
Paul.
-
Jun 2nd, 2008, 03:27 AM
#2
Re: VB6.0 and Crystal Report9
Thread moved from the FAQ forum.
-
Jun 2nd, 2008, 02:45 PM
#3
PowerPoster
Re: VB6.0 and Crystal Report9
I have this in the General section
Code:
Dim crxApplication As New CRAXDRT.Application
Public Report As CRAXDRT.Report
Dim crxDatabaseTable As CRAXDRT.DatabaseTable
I use this to call the report
Code:
Set Report = crxApplication.OpenReport("Z:\DAD\JobsUnder4K.rpt", 1)
For Each crxDatabaseTable In Report.Database.Tables
crxDatabaseTable.ConnectionProperties("user id") = "sa"
crxDatabaseTable.ConnectionProperties("Password") = myPasswordTechniSQL
Next crxDatabaseTable
Report.PaperOrientation = crDefaultPaperOrientation
Report.PrintOut False
as an example.
===================================================
If your question has been answered, mark the thread as [RESOLVED]
-
Jun 3rd, 2008, 08:00 AM
#4
Thread Starter
New Member
Re: VB6.0 and Crystal Report9
thnxs Pasvorto for giving ur inputs..
I found the solution and the one is similar to what u have mentioned...
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
|