Skip to Content
0
Former Member
Sep 12, 2012 at 06:11 PM

Export report to legacy xml programmaticlly in .NET

15 Views

I am trying export my crystal reports to legacy xml using crystal report for visual stuido 2010.

I found this post http://scn.sap.com/thread/1569343, it is very helpful, however, look at the code mentioned in the post,

I don't know how to get Rowset object, can you provide me with more details of how to implement the method "getSavedData" to get Rowset object?

Thanks.

' Get the saved data from the ReportClientDocument.

dim myDataRetriever

set myDataRetriever = new DataRetriever

myDataRetriever.setup(oReportClientDocument)

dim oRowset

set oRowset = myDataRetriever.getSavedData()

' View the result as xml.

oRowset.saveToXML(Server.MapPath("result.xml"))

response.redirect( "result.xml" )

I