ASP.NET
  Home arrow ASP.NET arrow Page 5 - Working with Parameters with Crystal Repor...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP.NET

Working with Parameters with Crystal Reports and ASP.NET 2.0
By: Jagadish Chaterjee
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 35
    2007-07-24

    Table of Contents:
  • Working with Parameters with Crystal Reports and ASP.NET 2.0
  • Passing the value to Crystal Report Parameter dynamically: source code
  • Passing the value to Crystal Report Parameter dynamically at run-time: explanation
  • Passing the value to the Crystal Report Range Parameter dynamically: source code
  • Adding Multiple Value (Discrete and Range) parameters to Crystal Report
  • Passing the value to Multiple Crystal Report Parameters dynamically: source code

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Working with Parameters with Crystal Reports and ASP.NET 2.0 - Adding Multiple Value (Discrete and Range) parameters to Crystal Report


    (Page 5 of 6 )

    This is very similar to the previous report except that this accepts multiple values (both discrete and range parameters).

    In a way similar to the previous reports, add a new report named "SampleParam3.rpt" with the same fields. Now we shall add a new parameter to the Crystal Report.

    The following are the steps required to add multiple value (Discrete and Range) parameters:

    In the "FieldExplorer," right click on "Parameter Fields" and click "Add."

    In the "Create Parameter Field" dialog box, provide "Name" as "p_OrderDate_Discrete_Range," "Prompting Text" as "Enter Start and End Dates or single date," "Value Type" as "DateTime," switch "Allow multiple values" to on in the "Options," select "Discrete and Range Values" from the radio button list  and click OK (Fig 11).

    Using the "Select Expert," provide the information for the "Choose Field" dialog box as being from "Orders.OrderDate" and click on OK (as shown in figure 12).

    Using the "Select Expert" provide information as follows (Fig 13) and click OK.

     

    More ASP.NET Articles
    More By Jagadish Chaterjee


       · Hello guys,This is second part in the series focusing on Programming Crystal...
       · Hello...My name is BasavarajYou have not specified about the crystal report...
       · Hi,Thanks so much for your post. I have followed your steps however when I run...
       · Thanks.its a very helpful for me
       · Great Support !!!
       · Hi, I am Sumit JoshiI am a Director of Macrosoft Solutions.You give great...
       · Hello everyone,This article is awesome.But i am facing a problem. I have a...
     

    ASP.NET ARTICLES

    - More Advanced ASP.NET 3.5 Functions and Subr...
    - ASP.NET 3.5 Functions and Subroutines
    - Coding an IQ Test with Conditionally Driven ...
    - Developing Conditionally Driven Event Handle...
    - ASP.NET 3.5 Debugging Using Visual Web Devel...
    - Understanding Event Handlers in ASP.NET 3.5
    - Building a Web Form in ASP.NET and PHP: a Co...
    - Inserting Data into a Microsoft SQL 2008 Dat...
    - Creating an ASP.NET Dynamic Web Page Using M...
    - Retrieving Data from Microsoft SQL Server 20...
    - Building ASP.NET Web Forms to Use a MySQL Da...
    - Creating an ASP.NET Database using MS SQL 20...
    - Building an ASP.NET Website Using Include Ta...
    - Create ASP.NET Web Forms to Use a Microsoft ...
    - Editing Web Design Layout in Visual Web Deve...





    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek