The only way I can think of getting round that is to use a table, which you
populate with text in a dataset depending on whether or not the WithCoverpage
parameter is set. Make sure that the table has no header or footer. However,
this restricts you as far as formatting the cover page is concerned. The
table should have the properties:
Hidden=Not(Parameters!WithCoverpage.Value)
PageBreakAtEnd=True
HTH,
Magendo_man
[quoted text, click to view] "sperotti" wrote:
> Thanks again.
>
> Immediatly after the rectangle I have a list. There is no vertical space
> between them. The problem is that the space left at the top of the first
> page is equal to the full height of the rectangle.
>
> "magendo_man" wrote:
>
> > Do you have the next control (i.e. table, matrix, textbox, matrix,..)
> > positioned immediately after the rectangle in the body with no vertical space
> > between them? You can ensure this by looking at the properties of each and
> > checking their position, as drag and drop doesn't always make controls line
> > up accurately.
> >
> > ~ Magendo_man
> >
> > "sperotti" wrote:
> >
> > > Thanks for the reply.
> > >
> > > I tried putting a rectangle with textboxes at the top of the Body section of
> > > the report. Then I set the PageBreakAtEnd property to true. It works fine
> > > with one minor exception.
> > >
> > > When the rectangle hidden property is set to true, there is a space where
> > > the rectangle is supposed to be.
> > >
> > > Any thoughts?
> > >
> > > Thanks
> > >
> > > "magendo_man" wrote:
> > >
> > > > You could use a table or a rectangle (containing textboxes) or some other
> > > > control for your cover page definition. Whatever you use you could try
> > > > setting the following properties on the control:
> > > >
> > > > Hidden=Not(Parameters!WithCoverpage.Value)
> > > > PageBreakAtEnd=True
> > > >
> > > > HTH,
> > > > Magendo_man
> > > >
> > > > "sperotti" wrote:
> > > >
> > > > > Is there any way to insert a page into a report programatically or otherwise.
> > > > > I have a report where the users want to choose to insert a coverpage in a
> > > > > report. The scenario is that the user has a report options screen in the
> > > > > user interface. One of the options is to create a coverpage. If the user
> > > > > selects this option a page will be inserted as the first page in the report.
> > > > >
> > > > > Any suggestions?
> > > > >