cancel
Showing results for 
Search instead for 
Did you mean: 

Run Report from command prompt (CRXI)

Former Member
0 Kudos

Hi

I've got a report which takes a long time to run, so I'd like to schedule it to run overnight.

Can I run a report via the command line and pass database connection details & report parameters?

Thanks in advance

Martin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Martin,

I have found a KBase for (Opening and viewing crystal reports from command prompt )

You can find KBase/Business objects Note from the following link:

[https://www.sdn.sap.com/irj/sdn/businessobjects-notes]

Cause :Opening and viewing crystal reports from command prompt

Resolution :Yes, we can run crystal reports designer from command prompt.

Steps:

Open Start-run,

Type u201Ccmdu201D. This will open command prompt.

Go to the folder, where crw32.exe file is located. Type :

C:Program FilesBusiness Objects Crystal Reports 11.5 > crw32

This will open the Crystal report designer.

To view a report, type:

C:Program FilesBusiness Objects Crystal Reports 11.5 > crw32 Reportname.rpt

(If it is not in same folder, use the path for the report)

This will open the specific Crystal Report in the designer.

Hope that helps!!

Regards,

Shweta

Former Member
0 Kudos

Thanks Shweta, that gives me a start.

What I need to be able to do is make the report run (refresh); I want to be able to pass log on and password credentials for the two data sources the report uses; and pass parameters (start & end dates).

Martin

Answers (0)