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

  • Home
  • SEARCH
  • 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 6680581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:29:28+00:00 2026-05-26T04:29:28+00:00

In my SSRS report, I have a start date and an end date as

  • 0

In my SSRS report, I have a start date and an end date as two of my parameters. I have others as well, so the start and end date can be NULL. However, I would like to make sure that if the start date parameter is selected, then the end date parameter is also selected. Also, I would like to make sure that the start date is earlier than the end date (for obvious reasons).

Are these two things something I can do in SSRS or will I need to use SQL – or both?

I’m using T-SQL Server 2005 and SSRS 2005. Thanks!

  • 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-26T04:29:29+00:00Added an answer on May 26, 2026 at 4:29 am

    You can certainly make these checks in SSRS without needing to call to SQL. But giving feedback to the user is the challenge. You can’t dynamically change the user input section of Report Manager.

    What I have done to address almost identical requirements:
    Leave the default value for the date parameters as NULL. Then write your checks (in VB) to show a text box in the body of the report with a warning message (“Incorrect Parameters: you must…”) if the check fails. The inverse should be added to any data section, so that it is hidden if invalid data is returned. If there are no visible references to a data set, then the query isn’t executed.

    Setting the visibility property of a text box to:

    =IIF(Parameters!ShowInactive.Value = "Yes"
        and  (ISNothing(Parameters!InactiveFrom.Value)
           or Isnothing(Parameters!InactiveTo.Value)),
      false,
      true)
    

    will show the text box if the @InactiveParameter is set to “Yes” and either the @InactiveFrom or @InactiveTo parameters are not set.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have several parameters on an SSRS report. There are two groups of these
I have an SSRS report with two parameters: StartTime and EndTime. I have default
I have a SSRS 2005 report that lists data between two particular dates. I
I have two Tablix controls on my SSRS report. I want one of them
I have an 2005 SSRS report that contains two tablix controls; and the report
I have two tables in my ssrs report, I want to export those two
Im building a basic SSRS report that is a quote. I have a date
I have a SSRS report that I pass parameters to. Within the base report
If I have a bar chart in an SSRS report, how can I tell
I have a SSRS report that I have been tasked with adding a second

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.