![]() ![]() It is a category containing a variety of functions that generally pertain to the current state of the report when being formatted or printed. I have checked your question on stackoverflow and first I would like to comment on the use of "print state" then I would like to suggest a solution for your problem. If you find a solution, it would be nice of you to post it back. This solution fixes the prblem of the extra blank page, in case the subreport has no data.īut the problem is that in case the subreport has data, the blank page is printed after the subreport and not before it, because we had to place the formula field after the section containing the subreport.Īnyway, I hope this idea could be a good start for you. In the Section Expert, add a formula to the "New Page Before" option: This makes sure that Crystal Report reads the formula in the subreport first before it reads the formula in the main report. Note that this field should be placed in a section beneath the section where the subreport was placed. In the main report, create this formula field Place this field in the Details section and suppress it Create a formula field in the subreport to count the records: Well, here are my thoughts, although they still don't fix the problem: Finally all the traces of the subreport has been removed
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |