Recently purchased Crystal Reports 10 Professional.
Installed on PC with Windows 2000 Professional and MS Office 2000
Using Crystal to report on a Lotus Notes Database.
We have a scheduler that was built using MS Access and works fine to schedule and run reports on the PC which Crystal 8.5 is installed, but when we try to run on the PC with Crystal 10, receive the message "Logon failed.
Details: 28000:[Lotus][ODBC Lotus Notes]Invalid authorization specification"
The references have been updated as per
Problem appears to be at the line crxApp.LogOnServer "pdsodbc.DLL", mLogonServer, mLogonDB, mlogonUserID, mPwd
********************************
Private Sub runBatch()
On Error GoTo ErrorHandler
Dim crxApp As New CRAXDRT.Application
Dim Rpt As New CRAXDRT.Report
Dim subrpt As CRAXDRT.Report
Dim rptObject As Object
Dim sect As CRAXDRT.section
Dim promptUser As Boolean
Dim prmDefs As CRAXDRT.ParameterFieldDefinitions
Dim prmDef As CRAXDRT.ParameterFieldDefinition
Dim prmField As New CRAXDRT.ParameterValue
Dim mRecs As Integer
Dim mReportName As String
Dim mFormat As String
Dim mpath As String
Dim mStartDate As Date
Dim mEndDate As Date
Dim mAsAtDate As Date
Dim mStyle As String
Dim mPwd As String
mPwd = getpassword()
'mlogonUserID = WhoIsSignedOn()
crxApp.LogOnServer "pdsodbc.DLL", mLogonServer, mLogonDB, mlogonUserID, mPwd
*****************************************************
As we only have the 1 working copy of CR 8.5, we wish to update the batch process so that it will run on any of the CR10 installed PCs.
Any help is appreciated, although not critical the scheduler enables us have reports available each morning.
Scheduler was built in house, but the person who built is no longer with the company.
We would also look at purchasing a scheduler that would do the job if it will meet the basic requirements. So any recommendations to Schedulers for CR10 that we can trial and purchase would help.
Thanks
Paul
Installed on PC with Windows 2000 Professional and MS Office 2000
Using Crystal to report on a Lotus Notes Database.
We have a scheduler that was built using MS Access and works fine to schedule and run reports on the PC which Crystal 8.5 is installed, but when we try to run on the PC with Crystal 10, receive the message "Logon failed.
Details: 28000:[Lotus][ODBC Lotus Notes]Invalid authorization specification"
The references have been updated as per
Problem appears to be at the line crxApp.LogOnServer "pdsodbc.DLL", mLogonServer, mLogonDB, mlogonUserID, mPwd
********************************
Private Sub runBatch()
On Error GoTo ErrorHandler
Dim crxApp As New CRAXDRT.Application
Dim Rpt As New CRAXDRT.Report
Dim subrpt As CRAXDRT.Report
Dim rptObject As Object
Dim sect As CRAXDRT.section
Dim promptUser As Boolean
Dim prmDefs As CRAXDRT.ParameterFieldDefinitions
Dim prmDef As CRAXDRT.ParameterFieldDefinition
Dim prmField As New CRAXDRT.ParameterValue
Dim mRecs As Integer
Dim mReportName As String
Dim mFormat As String
Dim mpath As String
Dim mStartDate As Date
Dim mEndDate As Date
Dim mAsAtDate As Date
Dim mStyle As String
Dim mPwd As String
mPwd = getpassword()
'mlogonUserID = WhoIsSignedOn()
crxApp.LogOnServer "pdsodbc.DLL", mLogonServer, mLogonDB, mlogonUserID, mPwd
*****************************************************
As we only have the 1 working copy of CR 8.5, we wish to update the batch process so that it will run on any of the CR10 installed PCs.
Any help is appreciated, although not critical the scheduler enables us have reports available each morning.
Scheduler was built in house, but the person who built is no longer with the company.
We would also look at purchasing a scheduler that would do the job if it will meet the basic requirements. So any recommendations to Schedulers for CR10 that we can trial and purchase would help.
Thanks
Paul