Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7
This is the forum to discuss the Wrox book Professional SQL ServerReporting Services by Paul Turley, Todd Bryant, James Counihan, George McKee, Dave DuVarney; ISBN: 9780764568787
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 9th, 2004, 12:07 PM
Authorized User
 
Join Date: Jul 2004
Location: San diego, CA, USA.
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default date ranges

I need to have a "From" and a "To" date range on my report as input parameters. How can I drop a calendar control on my report at design time? Or, If I have to make them as text input boxes, how do I put javascript as client side input validation. I have no problem to write javascript, but where do I put it? I don't know how I can modify the rdl file.

  #2 (permalink)  
Old December 16th, 2004, 10:59 AM
Registered User
 
Join Date: Dec 2004
Location: Syracuse, NY, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to MizAthyKat
Default

I am interested in this as well. I am designing a matrix of linked reports, and it is desirable to let the user enter a from and to date range to obtain the data within that range. Please advise the best method if this is possible, thank you.

Kat
  #3 (permalink)  
Old December 23rd, 2004, 05:23 PM
Authorized User
 
Join Date: Dec 2004
Location: Phoenix, AZ, USA.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to bsullins
Default

to edit the RDL file you can right click on the report and select view code. This should bring up the XML file....

If you are simply asking to add these parameters to a report, you can go to edit your datasource and add them to the parameters tab.

Also, If you are in 'Layout' mode you can check the properties window, change it from 'Body' to 'Report' then click the elipse (...) next to parameters and select more options for your parameters. For a lot of my reports I need them to have a default of the previous day, so I check 'Non-Queried' next to the 'From Date' parameter and enter this function for the date. {=datetime.today.addddays(-1).tostring("mm/dd/yy")}

Hope this helps!

--
Ben Sullins
Sql Developer - Our Vacation Store
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
puzzle for date ranges navjot C# 1 October 16th, 2008 02:21 PM
Date Ranges nbuckwheat Access 1 December 12th, 2005 12:45 PM
Copying ranges mtowle Excel VBA 2 November 2nd, 2005 06:35 AM
Query regarding Date Ranges spraveens SQL Language 7 January 13th, 2004 08:11 AM
Query Returning Date Ranges rstelma SQL Server 2000 4 October 28th, 2003 08:57 PM



All times are GMT -4. The time now is 11:03 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.