Can we format report-specific information in subject line in SSRS 2005

I want to run the subscription with following information:

1. Month and Year of Date Parameter
2. Text Value from Combo Box in Parameter.

Month and year of Date Parameter should be display in Subject line of Email. Also is there any way to format the comment or message body.

I will appreciate your help.

Thanks
LVL 1
punjwaniAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Megan BrooksSQL Server ConsultantCommented:
In Enterprise Edition, you can set email header information (to, subject, comment, etc.) and parameter values from a database query. If you supply a query to the subscription that returns the same values as those in your report parameters, presumably by performing the same queries that the parameter datasets do, then you can get the same effect as what you are asking for.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
punjwaniAuthor Commented:
Thanks, so you mean I have to use data driven subscription, I was looking for code like we use @executionTime in subject line or @ReportName, is there any way I can get list of these codes.

But your solution will definately work for me as a work around.

Thanks
Noor
0
Megan BrooksSQL Server ConsultantCommented:
I don't remember for sure but it seems like those two items were pretty special. There might be some other macro-like report properties you can pull that way (I will check), but I thought you were asking how to access report parameter values.
0
Megan BrooksSQL Server ConsultantCommented:
Execution time and report name are the only properties that you can insert that way, and only into the subject line. Data-driven subscriptions can insert other things into any of the email header fields as long as the query has access to the information.
0
punjwaniAuthor Commented:
Thanks for your help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SSRS

From novice to tech pro — start learning today.