I'am trying to pop up Crystal Reports from SBO using cystal 10.0
I know in the Designer if we right click we have the option "DataBase->SetLocation" through which we can choose the Data Souce location.
How do we do the same through Code.Is any of the Crystal Objects having the "SetLocation " Method??
I did something similar quite a while ago using crystal v9. I have included a code snippet below showing how to change the data source locations.
Dim objReportDBTable As CRAXDRT.DatabaseTable
For Each objReportDBTable In Report.Database.Tables
objReportDBTable.Location = strNewLocation
I would like to let you know of an SBO addon that we have created called CrystalWave. This addon integrates Crystal reports with B1. This might save you a some time trying to recreate the wheel. Please take a look at the following link:
YOu can download a fully functional copy at http://www.twbs.com/selectcwversion.html
This will work only on the SBODEMO_US company.
Let me know if you have any questions.