Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 30 Jun 2009 at 1:04pm
Having a little trouble visualizing but I think you would need a shared variable from the subreport and then use that to suppress or also conditionally have new page after instead of always doing the new page.
Joined: 29 Dec 2008
Location: United States
Online Status: Offline
Posts: 143
Posted: 30 Jun 2009 at 1:34pm
Hmmmm I tried the shared variable set up.... it didn't seem to work.... but then again i probably set it up wrong....
basically what i'm trying to set up is.
Xtab report (RF-a) if within this xtab a SEE NOTE result appears then
Sub-Report (RF-b) will show the results on the note. I have the SEE NOTE part set up for the sub-report. so if there is no see note the sub-report's blank.
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 30 Jun 2009 at 1:43pm
BUt you always are getting the page break and hence a blank page when no sub report, correct?
Do a conditional page break the same way you have the RFB conditionally suppred. It should only break if "SEE NOTE" exists.
If you ever have an instance where there is SEE NOTE and no subreport then you would need the shared variable to know to do no page break if there is no SEE NOTE or NULL sub-report.
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 30 Jun 2009 at 1:52pm
I don't use variables too much but I think you will need to create a RFc and palce the shared variable there. It has to be done after the sub-report. Also make it a constant POSITIVE attribute instead of a negative or NULL. You can make the page break only on an AND statement. Easier to control that way...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum