Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 2556

VS2005 : Problem with PDF format in Crystal Report in 64-bit machines

$
0
0

Hi,

 

I've written an app that creates a pdf from a crystal report.

 

It works perfectly on the  32-bit machine , but  export  incorrect data  on 64-bit machines.data unsorted  and  repeated 

 

 

 

code used

 

Dim rpt As CrystalDecisions.CrystalReports.Engine.ReportClass

rpt= New Rpt_Ch14_1() ' My report

   MyCommand.Connection = myConnection

        MyCommand.CommandText = comm

        MyCommand.CommandType = CommandType.Text

        myDA.SelectCommand = MyCommand

        myDA.Fill(myDS.Tables(0))

        Dim dv As DataView = myDS.Tables(0).DefaultView

        rpt.SetDataSource(myDS)

rpt.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, Application.StartupPath & "\Temp_PDF\Rpt_Ch14_1.pdf")

 

 

 

 

an important Note  :
in case of using CrystalReportViewer  .. It Exports Pdf  Correctly   in both 32-bit & 64-bit machines

 

 

Thanks In advance
and Sorry For Poor English


Viewing all articles
Browse latest Browse all 2556

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>