Hi
In a Crystal report i have called stored procedure. Is it possible to check for a condition if it is true only then Data gets displayed in Crystal report.
Thanks
Hi
In a Crystal report i have called stored procedure. Is it possible to check for a condition if it is true only then Data gets displayed in Crystal report.
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jaimin ShethiyaPosted Dec 10, 2024, 3:33 AM
Hello,
Yes that is possible, you need to create formula and used that formula in your crystal report.
Please refer below link for more detail.
https://kb.blackbaud.com/knowledgebase/Article/52447
Thanks
Jayraj ChhayaPosted Dec 9, 2024, 3:46 PM
Hi Ramco Ramco,
Yes, it is indeed possible to check for a condition in a Crystal Report that is based on a stored procedure. You can achieve this by using the "Suppress" feature or by creating a formula field that evaluates your condition.
For instance, if you want to display data only when a certain field meets a specific criterion, you can create a formula field like this:
Then, you can use this formula in the "Suppress" option of the report section. Simply right-click on the section (e.g., Details), select "Section Expert," and enter your formula in the "Suppress" formula box. This way, the section will only display data when the condition is true, effectively controlling the visibility of your report data based on the stored procedure's output.