I have one problem which already take me a while to find the solution.
I hope anybody out there can assist me.
i got this code to print out data in crystal report direct from ASP but the medium is in VB.
The code looks like this:
Public Function printCR() As String
Dim cr As Object
Set cr = CreateObject("Crystal.CrystalReport")
If cr Is Nothing Then
.Connect = "dsn=System;uid=mic;pwd=michael"
.ReportFileName = App.Path & "\Report\budding.rpt"
.Destination = crptToPrinter
.ParameterFields(0) = "@mto;RT123454;TRUE"
.DiscardSavedData = 0
.Action = 1
printCR = App.Path & "\Report\GOLDWIRE ISSUING REPORT.rpt"
This code is in .dll file
When my asp code call this dll, the printing syntax can't seem to work.
What should i do to make it works?
It can definately return the value App.Path & "\Report\GOLDWIRE ISSUING REPORT.rpt"