Crystal Reports Help
Hello!
I have to write a program that will refresh Crystal reports every now and then with VB6. My problem is I'm using Documentum as Database so I have to connect to it. Please help if you can.
Here is the bit of the code I created:
Private Sub Command1_Click()
Dim A As New CRAXDRT.Report
Dim B As New CRAXDRT.Application
Set A = B.OpenReport(Path+"\Report.rpt")
A.DiscardSavedData
This is the line I used to try and do the connection.
A.Database.Tables(1).SetLogOnInfo "ServerName", "Docbase", "Username", "Password"
|