How to create a report with Crystal Reports parameters?

5

How to create a parameterized report in Crystal Reports? Creating the report for me has no problems, but now I need to filter it according to some parameters of the system table.

Can anyone help me with some examples?

    
asked by anonymous 15.04.2014 / 16:20

2 answers

0

It's very simple to use parameters to use as a filter:

  • Right click on Parameter Field > New ...
  • Fill in the required values. For example, for a Home (basic) Filter:
  • "NOME": DataInicial
    "TIPO": Data
    "LISTA DE VALORES": Estático
    
  • Right click on report > Report > Select Expert > Record ...

  • Select the field to be filtered with the Start Date > OK

  • In the checkbox where "any value" is written, select "Greater than or equal to" and in the field in front enter the name of the parameter created between {? PARAMETER}, in the example it would look like this: }

  • Ready, filter done.

        
    15.01.2015 / 19:46
    -1

    What source (s) of data are you using?

    Depending on the Data Source, a Stored Procedure for example, the CR creates the parameters.

    Apart from this, in a query, just create the parameters (List of Parameters)

    Apart from this, Field Scan, Parameter, New

    The question is to link to some Filter, but this depends on the Data Source

    =================

    Yes, but somewhere you need to filter otherwise it does not make sense to have a parameter.

    Selection Form __Registration

        
    15.04.2014 / 16:56