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

How many sub-reports can report can have?

4 Answers   IBM,


How can i normalize a Crystal Report..??

0 Answers   HCL,


How to write a formula to change a font based upon data ?

2 Answers  


Explain the various components in crystal reports?

0 Answers  


I had an Interview yesterday for a Crystal Reports Developer position. Some of these I have not done in my reporting experience and I had just a half day's notice for the interview, hence no prep time :-( 1) 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 uncertainity 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 teh reports at run time? 2) What is a SQL expression? 3) What are field expressions and what are the diff types? (I looked this up in the internet and never found anything with regards to types of field expressions) The interviewer really got me confused as I felt he was not clearly setting forth his questions but it could be that I was unable to understand his wording of the questions. I expect a big zero from his feedback but I am hoping this is an experience for future interviews that I face in crystal reports when I do get some more lined up. Thanks in advance! Anita New Jersey, USA.

5 Answers   Barclays,


How can we improve the performance of a crystal report? OR What all performance improvement techniques used in crystal reports? (particularly CR XI)

9 Answers   CSC, ERS, Jupiter,


hi.. i've created a crystal report and one crystal report viewer in windows form. i've two form form1 and form2 in form2 i've kept one button called print. when i press this button it should print the document into .pdf format. without using the crystal report viewers print button.

0 Answers  


How many .rpt files are be there in a main report having 2 sub reports?

17 Answers   Accenture, Cap Gemini, CTS,


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 we create report using more than one database?

3 Answers   CSC, Seed Infotech, Target,


How to access crystal reports in .net?

0 Answers  


Can we use Crystal report as a stand-alone application?

4 Answers   Covansys,


Categories