Subreports checkbox works but needs help with tweaking !

  • Thread starter Thread starter Ben
  • Start date Start date
B

Ben

I have code, below, that pops up a form for a report and the user checks
which subreports should be on the main report. That works. However, I want
the code to identify if one of them wasn't selected to "move" the other
reports up. I have subreports, one after another with page breaks. If
subreports 3 and 5 were selected and #4 wasn't then I want subreport 5 to
move up to where 4 was. Any ideas?

Ben
 
I assume you have some code to hide / unhide the subreports.
something like
Me.PrintSection = False
try adding
me.movelayout = false
HTH
 
Back
Top