I receive the error "20532 - Missing database dll" on the .action in the code below. The code works fine on the development machine, and on one other. When I load it on the 3rd machine I get the error. I've researched this and all articles I've found point to msvcp60.dll and crpe32.dll not being in the distribution package. They are both there. Any suggestions?
With Form1.Crystal1
.DataFiles(0) = "c:\program files\dc analysis reports\results.mdb"
.ReportFileName = "c:\program files\dc analysis reports\proglist.rpt"
.DiscardSavedData = True
If intDestination = 0 Then
.WindowTitle = "Programmer Checklist"
.WindowState = crptMaximized
.WindowHeight = 850
.WindowWidth = 1000
.WindowTop = 0
.WindowLeft = 0
.Destination = crptToWindow
.Action = 1
ElseIf intDestination = 1 Then
.Destination = crptToPrinter
.PrintReport
End If
End With
With Form1.Crystal1
.DataFiles(0) = "c:\program files\dc analysis reports\results.mdb"
.ReportFileName = "c:\program files\dc analysis reports\proglist.rpt"
.DiscardSavedData = True
If intDestination = 0 Then
.WindowTitle = "Programmer Checklist"
.WindowState = crptMaximized
.WindowHeight = 850
.WindowWidth = 1000
.WindowTop = 0
.WindowLeft = 0
.Destination = crptToWindow
.Action = 1
ElseIf intDestination = 1 Then
.Destination = crptToPrinter
.PrintReport
End If
End With