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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Executing report from an application

Status
Not open for further replies.

plong

IS-IT--Management
Sep 29, 2003
6
US
Hi!
I'm working on Crystal Reports 8.0
I want to launch a report from an application developped with centura SQL*windows 2.0 with parameters.
I can execute a generated report (with the patch that enables to make an .EXE file, like in former versions), but the user is asked to type in the values of some parameters, like login, password or name of the database.
I would like the users not to enter any of these, but I don't know how to send parameters to the report.
I figure it would be something like:
"C:\Program Files\Seagate Software\Crystal Reports\crw32.exe C:\my documents\report.rpt database login password value_of_a_parameter"
or
"C:\my documents\report.exe database login password value_of_a_parameter"

Thanks

Patrick
 
There are no command line parameters for compiled reports. To pass these parameters you will have to use one of the options for launching the report like the OCX, Automation Server, API or RDC. These allow you to pass login info. However, I am not sure if your app is compatible with these. Ken Hamady
Crystal Reports Training/Consulting and a
Quick Reference Guide to VB/Crystal (including ADO)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top