scotthendoau Posted June 12, 2008 Share Posted June 12, 2008 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 More sharing options...
scotthendoau Posted June 13, 2008 Author Share Posted June 13, 2008 Thats ok guys, have solved the problem. Rather than setting up the year as a parameter in the main report and then sending that to the sub report, add the year as a parameter by right clicking on the sub report and adding it there. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now