Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6382555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:32:14+00:00 2026-05-25T02:32:14+00:00

I have a report that contains the following parameter Fine > 0 and the

  • 0

I have a report that contains the following parameter “Fine > 0” and the choices are “Yes”, “No” and both using a multi-select dropdown box. The parameter gets passed to the stored procedure as either “Yes’, “No” or “Yes, No”.

In the SP has syntax similar to this

Case WHEN @FineAmount = 'Yes' THEN I.Fine > 0 
WHEN @FineAmount = 'No' Then I.Fine = 0
ELSE I.Fine >= 0
    END
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T02:32:15+00:00Added an answer on May 25, 2026 at 2:32 am

    Here’s some case logic that will get the job done.

    where
      I.Fine > case
        when @FineAmount like '%Yes%' then 0
        else I.Fine + 1 end
      or I.Fine = case
        when @FineAmount like '%No%' then 0
        else I.Fine - 1 end
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a C# 2010 application that contains a report created using Crystal Reports
I have a method that contains the following Linq to SQL code: public List<L2SBusinessEntities.Report.MesReport>
I have created a report which contains a number of parameters so that the
I have a report that I'm exporting to PDF using the VS2008 version of
i have a report that i have been sending a parameter to which worked
I have a swing application that read HTML pages using the following command String
I have a report that contains a drop down of users. I want the
I have an .aspx page that contains a ReportViewer control. The report displays properly,
In an MS Access 2007 project report, I have the following (redacted) query: SELECT
I have an unbound XtraReport that has a subreport control which contains another report.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.