sumija Posted February 21, 2011 Share Posted February 21, 2011 Hello!!I have main report and one subreport in every detail of main report. I need to put some flag (color, line, whatever..) based on calculation of main report value & subreport returned value.The problem is I can't use a subreport returned value in Print When Expression because of evaluation time is always Now. Is it possible somehow to flag the detail row/field based on subreport returned value.Miljan Post Edited by sumija at 02/21/2011 15:26 Link to comment Share on other sites More sharing options...
cbarlow3 Posted February 22, 2011 Share Posted February 22, 2011 Have you tried changing the evaluation time of the field that you want styled from "Now" to "Band"? The ultimate guide says that if you need to use any returned parameters in the same band as the subreport itself, the field that uses the returned parameter needs to be set to "Band".Carl Link to comment Share on other sites More sharing options...
sumija Posted February 23, 2011 Author Share Posted February 23, 2011 Yes I did, but the evaluation time of Print When Expression is Now and the returning parameter is null in that time.The question is can I use returning parameter from subreport to print or not to print some fields in the same band (subreport is in detail band, also the fields which I want to print depending of ret. values) Миљан Post Edited by sumija at 02/23/2011 13:17 Link to comment Share on other sites More sharing options...
sumija Posted February 25, 2011 Author Share Posted February 25, 2011 I resolve my problem putting flag into the subreport. It is not the perfect place, but it's doing a job ! МиљанPost Edited by sumija at 02/25/2011 01:59 Link to comment Share on other sites More sharing options...
leunajyee Posted July 9, 2012 Share Posted July 9, 2012 Hi sumija, I am having the same problem. Can you specify how you solved your problem by putting a "flag" in the subreport? What flag is it specifically? A sample template would be very helpful. Your help and advice will be very much appreciated.Regards,Jan Link to comment Share on other sites More sharing options...
sumija Posted July 9, 2012 Author Share Posted July 9, 2012 Maybe the word Flag is not the right one.I tried to return some data from subreport to main report, but that not worked. I resolved my problem by sending data from master report to subreport, and instead of main report I used subreport for what I needed to do (show/hide some fields).Miljan 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