Skip to Content
0
Former Member
Aug 09, 2016 at 11:08 AM

Crystal for VS - object data source - html5

49 Views

We are currently using the Visual Studio version of Crystal Reports with a VB.Net application. We are planning to rewrite the application as a web app (keeping our objects and reports, if possible). We would like to display the reports in HTML5 (rather than on a separate web forms page, which I have tested we can do using Crystal Web Viewer). I believe the only way to do this would be to move to Crystal Server and import our existing reports, then from our new application include a link to the appropriate URL on the server. The only wrinkle to this scenario is that most of our current reports are based on object data sources. So we do something like this, in pseudocode:

orders = orders.GetAllOrders(customer, fromdate, todate)

rptOrders.SetDataSource(orders) <-------------- an arraylist of our "order" object

crViewer.ReportSource = rptOrders

Is there anyway that can be done when the report viewer component is replaced with a report hosted on a Crystal Server, or will the Crystal Server want to retrieve the data itself directly from SQL server instead of being handed the data from our app? I am kind of assuming the answer is no, but would like confirmation of this.