How can I set up a report?...

Steeve_globetrotterSteeve_globetrotter Member Posts: 46
Hi everybody...

How can I set up the preview of a report directly and automatically with "Portrait" or "Landscape"...

Is there an existing method fot that ?

Thanks a lot

C ya

Steeve Le Provost
http://www.steeve-leprovost.fr.cx

Answers

  • DatapacDatapac Member Posts: 97
    Set the Orientation Property of the report to Portrait or Landscape.
    Hope this helps,
    Richie
  • Steeve_globetrotterSteeve_globetrotter Member Posts: 46
    Thanks for your answer,

    Yes of course, I can do that manually, but I'd like to do that directly into the code. Is it possible ?

    Thanks

    Steeve Le Provost
    http://www.steeve-leprovost.fr.cx
  • DatapacDatapac Member Posts: 97
    I don't think it's possible to set this property in code.

    If you need to sometimes run a report in Landscape, or sometimes as Portrait, or sometimes as '' (printer default) depending on criteria, I'd suggest you create 2 copies of your report and set the Orientation property differently on the report copy. Then call the required report from a processing only report depending on the criteria.

    This is a similar workaround to when you need to print a report to different printers depending on certain criteria.

    Hope this helps,
    Richie
  • Steeve_globetrotterSteeve_globetrotter Member Posts: 46
    Ok,

    Thanks for this, I gonna look for something else then... 8-[

    Kind regards,

    Steeve Le Provost
    http://www.steeve-leprovost.fr.cx
Sign In or Register to comment.