Click here to Skip to main content
15,886,772 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I m working with a windows application in which i have to use value from windows form, which i m going to use as a criteria to select the values from database please tell me how can i use values from windows form in crystal report, or tell me how can i use variable in crystal report for selecting specific fields to show on crystal report.

Plz reply me ...
mail me [EDIT]Removed email to protect OP [/EDIT]
Posted
Updated 12-May-10 2:00am
v2

1 solution

In you report you can add a parameter.

To select your data according to this parameter go to report - selection
and add a condition.


In code you can pass this parameter to the report with
rpt.SetParameterValue(ParamNaam, ParamValue)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900