on 09-12-2012 7:11 PM
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
I see this "saving legacy xml" option in the crystal 2011 designer, I assume there should be a way to implement in code, can you help please?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
still waiting for answers, thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are no exposed APIs for this type of export in any CR SDK,
- Ludek
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
still looking for an answer, thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Steven,
Take a look at the CR for VS 2010 Developer guide and API reference guide.
XML is listed as an available export format but this format produces XML using the SAP Crystal Reports XML schema.
- Bhushan
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Thank you for reply. I have been looking at those references you mentioned for a while, I understand that the new crystal report has changed the xml schema and default xml is using the schema, however, I saw the crystal report designer still has an option to export to legacy xml, I just wanted to do it in the code, do you think it is possible?
anyone knows the solution or is there any other way to do this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.