Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Pass parameter to query to filter out data Post Reply Post New Topic
Author Message
Sidewinder2
Newbie
Newbie
Avatar

Joined: 29 Jan 2009
Location: India
Online Status: Offline
Posts: 3
Quote Sidewinder2 Replybullet Topic: Pass parameter to query to filter out data
     Posted: 29 Jan 2009 at 10:24pm

Hello Mate,

                First of all i made a dataset and made connection to the database through sql connection wizard.and made this dataset as the datasource to a  crystal report document.
 
                 I used a query like this "Select * from Users" .Now i need to pass parameter to this query to show filtered out data in report like(select * from Users where username='Sidewinder2' and date='01/30/2008.
 
               And also need a step by step explnation to increase the records per page.
 
               If u know any website or example for creating crystal report with please let me know.
 
 
Much Obliged & Thanks A Lot,
Sidewinder2
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 30 Jan 2009 at 6:17am

create parameters for your stored proc.  When you update the datasource, Crystal will create the parameters that are needed to run the stored proc.

As for more records on a page, smaller page header/footer, smaller margins, smaller fonts, no extra room between lines.  It is just like writing on paper, you only can fit so many lines in...unless you make smaller lines.
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum