Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I am able to generate a report from a sql table using crystal report design.
All the records are selected for this report. I dont want all records to be selected.
I want to compare a particular field and if the value in that field is not true , then the report generator should avoid selecting that row. How to do it while designing the report.
Thanks.
Posted

1 solution

You need to use parameters
check this Crystal Report Filtering Using Selection Parameters[^] article.
 
Share this answer
 
Comments
Member 9499256 13-May-14 1:44am    
The linked article is a good way of doing it using parameters. Check out Step 6 for setting the actual "Record Selection Formula" but you don't have to use parameters (depends on your design). Any formula will work so long as its result is a true (include record) or false (ignore record).

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