Hello acextreme!
Try this:
-
-
Dim crxApp As CRAXDRT.Application
-
Dim myReport As CRAXDRT.Report
-
Dim crxExport As CRAXDRT.ExportOptions
-
-
Set crxApp = New CRAXDRT.Application
-
Set myReport = crxApp.OpenReport(App.path & {YourReportName}, 1)
-
-
With myReport
-
With .ExportOptions
-
.UseReportDateFormat = True
-
.UseReportNumberFormat = True
-
.FormatType = crEFTPortableDocFormat
-
.DestinationType = crEDTDiskFile
-
.DiskFileName = App.path & "{YourFileName}.pdf"
-
End With
-
.Export False
-
End With
-
-
Perhaps you can mimmick to fit your purpose. Be sure all of your DLLs are properly installed;-)
Let us know if that works!
Dököll
Nope, It didn't work. This is the code that I used (or something like it). :((
I'm thinking if I can change the sql query from crystal making a conversion from decimal into float it will work....But I didn't succed to change it. And I read from some forums that sql query can not be changed.