Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 9th, 2004, 12:07 PM
Authorized User
 
Join Date: Jul 2004
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.

 
Old December 16th, 2004, 10:59 AM
Registered User
 
Join Date: Dec 2004
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
 
Old December 23rd, 2004, 05:23 PM
Authorized User
 
Join Date: Dec 2004
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





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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.