Jump to content

Use subreport multiple times in same report


white_falcon02

Recommended Posts

Hi all,

 

I want to create a subreport studio that uses the same saved subreport multiple times but have one variable change. The query in the subreport is 

SELECT DISTINCT DATEADD(MONTH, -13, GETDATE()) AS monthYearFROM "mytable"[/code]

For the first column, I want to display the month and year from 13 months ago. The next time, I want to display the month year from 12 months ago, and so on. Is there a way to do this?

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...