Crystal Report
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Hi. how can I pass a parameter from code to a report (Crystal Report)? Suppose, I have a table with these fields (ID,Name), now I want to send an ID from code and in my report, the Name of that ID be displayed.
Best wishes
-
Hi. how can I pass a parameter from code to a report (Crystal Report)? Suppose, I have a table with these fields (ID,Name), now I want to send an ID from code and in my report, the Name of that ID be displayed.
Best wishes
You can use CrystalReport1.DataDefinition.RecordSelectionFormula = "ID = " + value; CrystalReport1.Refresh();
It seem to be a solution or an answer.