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 7053989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:34:18+00:00 2026-05-28T03:34:18+00:00

System – SSRS 2008R2 using report builder 3.0 (or BIDS if you think the

  • 0

System – SSRS 2008R2 using report builder 3.0 (or BIDS if you think the answer lies there)

Objective – Create a report that displays sales data from the past 24 hours for each sales region. The report needs to refresh every 10 minutes, and always show the last 24 hours from the last refresh. However – the users still need to have the ability to change the time frame.

What did I do?

  1. Built a report that shows sales data for a single region depending on 3 parameters: StartTime, EndTime, RegionCode. Lets call it RegionalSales
  2. Built a master report that includes multiple subreports of RegionalSales. the master report has 2 parameters – StartTime (with a default value dateadd(“h”,-24,Now())) and EndTime (with a default value Now()). I am sending StartTime and EndTime to the subreports, and every subreport is assigned it’s own region.
  3. I’ve set the Auto-Refresh property of the master report to 600.

Results –
At first everything seems perfect – the master report loads, and the data shown is correct for the loading time (let’s say 22:08). However, after the auto-refresh (that occures at 22:18) the data is still correct as to 22:08.

The problem is that on the first load of the report the parameters get their default values as I stated (StartTime = 10/12/2011 22:08 & EndTime = 11/12/2011 22:08).
However, on the auto-refresh instead of the paramters updating (So I'll get StartTime = 10/12/2011 22:18 & EndTime = 11/12/2011 22:18) I still get the old values (StartTime = 10/12/2011 22:08 & EndTime = 11/12/2011 22:08)

Any thought on why, and how can I change this?

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-28T03:34:18+00:00Added an answer on May 28, 2026 at 3:34 am

    If I understand correctly…

    Unfortunately, report parameters get their values only at the first load unless the user manually clicks the View Report button.

    To get around this, I’d try converting the date parameters to not use default values, but rather get their values from a query and use the equivalent of GETDATE() for your RDBMS. If I’m not mistaken this will require you to add another DataSet to your report… but it won’t really be a dataset since the query for it will simply be SELECT GETDATE() [or the equivalent for your RDBMS] and whatever transformations you need to do for that.

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

Sidebar

Related Questions

System.Net.WebException: The server returned an address in response to the PASV command that is
System.Collections.Concurrent has some new collections that work very well in multithreaded environments. However, they
System.Windows.Forms.ComboBox has two different events that the programmer can handle: SelectionChangeCommitted - event fires
System.Exception: There was an error reading the city list for CANANDA ---> System.ArgumentException: Unrecognized
System specs: C# client using .NET 3.0. WCF services hosted as windows services on
System.IO.BinaryWriter outfile; System.IO.FileStream fs = new System.IO.FileStream(some_object.text, System.IO.FileMode.Create); outfile = new System.IO.BinaryWriter(fs); outfile.Write('A'); //
System Specs and task I am using Code::Blocks on Ubuntu 10.10 and playing around
System & connection details I am using a 64-bit system running Windows 7. I
System.out.println(Integer.MAX_VALUE + 1 == Integer.MIN_VALUE); is true. I understand that integer in Java is
System.Windows.Forms.Form.CancelButton : Gets or sets the button control that is clicked when the user

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.