cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal Reports

Former Member
0 Kudos

Hi,

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??

Please Suggest.

Regards Vishal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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
    Next objReportDBTable

John

Answers (2)

Answers (2)

Former Member
0 Kudos

thanx guys,

I shall try with that..

Vishal

Former Member
0 Kudos

Vishal,

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:

http://www.twbs.com/CrystalWave.html

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.

Gopal Viswanathan