Jump to content
We've recently updated our Privacy Statement, available here ×

Passing a field to a sub report


scotthendoau

Recommended Posts

Hey guys I have been trying to pass a field to a sub report but am having troubles. Given the SQL:

 

SELECT extract(year from request_time) as time

 

I want to pass the time field to a sub-report so that i can generate a report just based on that year. Now I have tried using a parameter and setting the parameter to the field using the default value expression but this gives an error.

 

Does anyone know how I can implement this?

 

Thanks in advance, Scott

Link to comment
Share on other sites

  • 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...