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 December 21st, 2004, 12: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 TIP: Displaying Parameter Values in the Report

Greetings everyone, hope this tip is helpful.

I recently created an agent sales report showing sales by day that takes the parameters @sdate and @edate for the date range. When pulling this report from a website It's obvious what dates your looking at since you entered them. However, when subscriptions to this report are setup it would be nice to see the dates it ran for displayed in the report. After trying many combinations of @sdate, =@sdate, =getdate()-1, etc... I found that you must use this (=Parameters!<Parameter Name>.Value). In my case I just dropped a text box on the report and punched in (=Parameters!sdate.Value) and vala... the report now displayed the start date that was used when running the report.

Hope this help!

--
Ben Sullins
Sql Developer - Our Vacation Store
__________________
--
Ben Sullins
Sql Developer - Our Vacation Store





Similar Threads
Thread Thread Starter Forum Replies Last Post
displaying parameter value gerll General .NET 1 June 3rd, 2006 03:32 PM
passing parameter values to the crystal report connect2sandep Crystal Reports 0 December 20th, 2005 06:27 AM
Accessing Parameter field values of sub report MyIssues_2005 Crystal Reports 0 July 14th, 2005 02:21 AM
tables not displaying all the rows values... abhit_kumar JSP Basics 2 January 17th, 2005 12:03 AM
Displaying listbox values.....??? Brettvan1 VB.NET 2002/2003 Basics 4 December 13th, 2004 06:42 PM





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