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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jayraj ChhayaRank #304 · 8.2K reputationPosted Dec 9, 2024, 10:46 AM EST
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:
If {YourField} = "YourCondition" Then True Else FalseThen, 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.
Jaimin ShethiyaRank #177 · 13.7K reputationPosted Dec 9, 2024, 10:33 PM EST
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