Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invoke crystal Reports from Command Prompt

Status
Not open for further replies.

sreeramnavale

Programmer
Feb 18, 2004
40
US
Dear Forum,

Can any one of you tell me weather I can open a certain crystal report(Example ABC.rpt) from a command prompt.

If yes can you give the syntax for that.

Thanks,
SN

 
IdoMillet,

Yes I would like to open Crystal Reports from command prompt on the machines where Crystal Reports is installed.

SN


 
The next question is, do you want to open it within the Crystal designer?

That can be done from a command prompt by specifying the directory of crw32.exe, then passing in a valid path to the report file you want to open. Here's an example:

C:\>"C:\Program Files\Seagate Software\Crystal Reports\crw32.exe" "c:\adodept.rpt"

-dave
 
Dear Forum,

I would like to state that I am using Crystal Reports 9.0. And in this version I do not find any way to create Crystal Reports executable as they used to be created in earlier versions of Crystal Reports.

Any direct command for running crystal from command line will be really helpful to me.

SN
 
vidru,

I tried running command
C:\>"C:\Program Files\Seagate Software\Crystal Reports\crw32.exe" "c:\ABC.rpt"

just like you stated above but I got the error
"The file CRW.NET cannot be found. Please check that it is in the working directory as shown by the Program Manager's File|Property command."

There is no file named CRW.NET on my m/c.
Can you help further?
Give alternate approches.

Thanks in Advance,
SN
 
You need to use the actual path on YOUR PC to the crystal exe file. However, it sounds to me like you are not communicating the actual problem.

Please state why you need to do this. Are you trying to let users who don't have Crystal installed on their PC run a Crystal report?

Cheers,
- Ido

CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top