SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


subscription issue


subscription issue

Author
Message
pjrpjr7
pjrpjr7
SSC Rookie
SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)

Group: General Forum Members
Points: 33 Visits: 64
I have a report developed in ssrs 2005 and it runs on 2008 report server. It has 5 parameters (out of which 2 are date parameters and the other 3 are multi select parameters (A, B and C) and these three parameters are cascading parameters (depending on the value of A that we choose, B and C values differ).
I need to create a subscription saying start date is yesterday, end date is today and my user gave me some defined values for parameter A and depending on these values, B and C parameters will be determined. For start date = yesterday, I should be creating a data driven subscription, but in that case, I don't see any drop down values for the other three parameters.
If I choose a regular subscription, then I cannot achieve start date = yesterday.
Please help.
ldorian81
ldorian81
SSC-Addicted
SSC-Addicted (434 reputation)SSC-Addicted (434 reputation)SSC-Addicted (434 reputation)SSC-Addicted (434 reputation)SSC-Addicted (434 reputation)SSC-Addicted (434 reputation)SSC-Addicted (434 reputation)SSC-Addicted (434 reputation)

Group: General Forum Members
Points: 434 Visits: 323
pjrpjr7 (1/28/2013)
I have a report developed in ssrs 2005 and it runs on 2008 report server. It has 5 parameters (out of which 2 are date parameters and the other 3 are multi select parameters (A, B and C) and these three parameters are cascading parameters (depending on the value of A that we choose, B and C values differ).
I need to create a subscription saying start date is yesterday, end date is today and my user gave me some defined values for parameter A and depending on these values, B and C parameters will be determined. For start date = yesterday, I should be creating a data driven subscription, but in that case, I don't see any drop down values for the other three parameters.
If I choose a regular subscription, then I cannot achieve start date = yesterday.
Please help.


If the Start date is always yesterday and the end date is always today could you not default both in the SQL or the report parameters?

Regards
ld

Stoke-on-Trent
United Kingdom

If at first you don't succeed, go to the pub and drink away your current thought plan.
ldorian81
ldorian81
SSC-Addicted
SSC-Addicted (434 reputation)SSC-Addicted (434 reputation)SSC-Addicted (434 reputation)SSC-Addicted (434 reputation)SSC-Addicted (434 reputation)SSC-Addicted (434 reputation)SSC-Addicted (434 reputation)SSC-Addicted (434 reputation)

Group: General Forum Members
Points: 434 Visits: 323
.

Regards
ld

Stoke-on-Trent
United Kingdom

If at first you don't succeed, go to the pub and drink away your current thought plan.
pjrpjr7
pjrpjr7
SSC Rookie
SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)

Group: General Forum Members
Points: 33 Visits: 64
The default date parameters are last 7 days and it should not be changed. However, I came up with another workaround which I figured out after playing around with it for a while. I created a hidden parameter and depending on its value, the date parameter default values will differ. This hidden parameter's default value will set date parameters as last 7 days and today whereas another value will set it as yesterday and today and my subscription has this another value for the hidden parameter.
jeganbenitto.francis
jeganbenitto.francis
SSC Rookie
SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)

Group: General Forum Members
Points: 46 Visits: 113
You hav to set the from date value as getdate()-1 or now-1 in RDL value itself. There is nothing to do with subscription here, Go to RDL Select the Parameter, and select NonQueried value in Parameter Properties and give the yesterday value in the textbox
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search