nsanagari Posted May 22, 2009 Share Posted May 22, 2009 Hi, I have a User object in which i have a address Object. in Address object i have phone number variable.I am sending the List of User object to the report. I want to display the phone nuber in the report from Address which is in User object.How can i do this.Thanks and RegardsNIRANJAN REDDY. S Link to comment Share on other sites More sharing options...
harinderrakkar Posted May 22, 2009 Share Posted May 22, 2009 Hii Try to do this by Passing the parameter to report query like select phone number from tablename where useraddress=$P{Parameter name} Hope this will work for You. Link to comment Share on other sites More sharing options...
nsanagari Posted May 25, 2009 Author Share Posted May 25, 2009 Hi, I am using java Bean setdatasource to get the reports.I want not only phone number but also all the variables declared in in Address object and variables declared in User Object. Thanks and RegardsNIRANJAN REDDY. S 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