How to pass stored Procedure Parameters to the report?

Answers were Sorted based on User's Feedback



How to pass stored Procedure Parameters to the report?..

Answer / elaiyaraja nallathambi

Need to Pass it as an Array so that it allows us to Support
multiple Values and From the Report Side we need to write a
formula to Convert the Array into the Comma Seperated Value.

Is This Answer Correct ?    1 Yes 0 No

How to pass stored Procedure Parameters to the report?..

Answer / hema

Choose File -> Options menu. In the Options dialog box
Click the Database tab and ensure that Stored Procedures is
selected. Selecting "Stored Procedures" automatically
displays any available stored procedures when you log on to
an SQL database.
Click OK to exit the Options dialog box.
On the Start Page, click Blank Report.
Locate and select the SQL Server data source that contains
the stored procedure you want to use.
Click Next to go to the Connection Information dialog box.
Enter the required information to log in.
Click Finish.
Highlight an SQL stored procedure in the Stored Procedures
folder, and click the > arrow to add it to the Selected
Tables list.
The Enter Parameter Values dialog box appears.
Highlight a parameter in the Parameter Fields list.
Assign a value by typing into the Discrete Value box and
then click OK.
You are returned to the Database Expert.
Click OK and create your report using the fields in the
stored procedure.

Is This Answer Correct ?    11 Yes 14 No

Post New Answer

More Crystal Reports Interview Questions

Where can we find the log file generated when we run a crystal report?

0 Answers  


Can we export data of reports into other format like in world doc etc?

5 Answers  


Explain the various components in crystal reports?

0 Answers  


How to open subreport in New IE window using hyperlink button. I used target=new; in the formula field. But it overrides the main window and show the report. Can anybody answer this please....... Regards Vimal.

1 Answers   GRV India, Patni,


hi.. i've one crystal report. i want the report header as "employee database". i dont want to right click->insert and goto text object and insert. i've one aspx page and aspx.cs page also. now i want the "employee database" header to be printed from .cs file. i dont want to pass by parameter also.. i.e is there any option in .cs file something like ReportDocument myreport = new ReportDocument(); myreport.Load(MapPath("~/" + "emp.rpt")); myReport.Reportheader="Employee database"; i hope u have understood this. only thing is from .cs file i want to print the header as employee database. i dont want by passing parameter also... please help....

0 Answers  






Is there a way to be able to change an image(company logo) dynamically in a report? Example if you have 100 reports, and with the market uncertainty if you anticipate that the company logo might change, how can you change the image just in one place and have this reflected in all the reports at run time?

0 Answers  


hi...to all i want to generate the two crystal reports one is employee and another is project. now i want to display the two reorts in a single crystal report viewer. i've tried using sub-reports but the page header is not avaliable in a sub reports.. so i want to display two separate crystalreports in a single viewer.. can anybody help me.. plz

1 Answers  


Where can we find the log file genertaed when we run a crystal report?

2 Answers   Microsoft, Wipro,


to ensure that all of the data from a field is displayed in a report text object you should do which of the following?? a) use the format wizard b) size the text object manually c) select the auto format option for the text object d) select the can grow option for the text object e) set the can grow option to the details section of the report

2 Answers  


Can anyone help me with an answer to this question? Where is the image located, after you've placed it on the report?

2 Answers  


How to print two details fields at the bottom of the page

5 Answers  


what is the "refresh" button suppose to do on the crystal report viewer?

2 Answers  


Categories