Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > SQL Language
|
SQL Language SQL Language discussions not specific to a particular RDBMS program or vendor.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Language section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 7th, 2004, 09:52 AM
Registered User
 
Join Date: Dec 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Setting up stored procedure for Crystal Report....

Dear database gurus

I am just a baby beginner of using stored procedure.
My newly joined company is using Sybase sql db and crystal report 10.
To improve the processing time of a CR report, I would like to create stored procedures to created a file populated with pre-filtered data with customized field name triggered by user when they run the reports which use this/these stored procedures.

To start at baby level, How should the store pro be....

I am not a techie and am only an accountant who likes working with data...Your kind advice or guidelines will be highly appreciated.
 
Old December 9th, 2004, 12:33 PM
Authorized User
 
Join Date: Nov 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here are the steps in general:
1. Create the Stored Procedure with the input parameters you want to filter the data with.
2. In crystal report datasoure , select your Stored Procedure as data source.
3.Crystal Report should create a Parameter Field with the Stored Procedure input parameter you created.
4. Provide value to this paramter field.

It should work. To know about how to populate and use Crystal Report Parameter field and datasource you can checkout this link http://www.businessobjects.com/produ...rystalreports/

Hope it helps





Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal Report, Stored Procedure, Dataset clioz Crystal Reports 0 July 19th, 2006 06:28 PM
Parameterized CRystal report & Stored procedure jay4ever_2000 ASP.NET 1.0 and 1.1 Professional 3 June 6th, 2006 08:53 AM
passing parameters to stored procedure in crystal prankur ASP.NET 1.0 and 1.1 Basics 0 January 10th, 2006 03:29 AM
Calling a stored procedure in Crystal .net sureshbabu Crystal Reports 0 January 8th, 2005 05:32 AM
Stored procedure as the rowsource for Report (ADP) Tero Access 1 May 12th, 2004 08:22 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.