Re: Reports 2.5 Questions

From: Per Brondum <pbrondum_at_us.oracle.com>
Date: 1996/07/21
Message-ID: <31F2DF3B.8CC_at_us.oracle.com>#1/1


Steve Chell wrote:
>
> A couple of questions about Reports 2.5:
>
> 1. Is it possible to programatically specify the paper tray (printer
> bin) - either within reports or as a command line argument?
> What about printing different pages of the same report to different
> bins? For example, when generating an invoice print run, the
> requirement might be to print the first page of each invoice
> on letter head, and the subsequent pages on plain paper.
>
> 2. When passing a parameter list to a report from Forms 4.5 via
> RUN_PRODUCT, and the parameter list contains a string parameter
> which contains a single quote, the report does not run.
> Remove the quote from the parameter and the report runs.
> Is there a way to pass strings with quotes to reports?
>
> Steve Chell
> slc_at_stevensons.co.nz

  1. Programatically specifing the paper tray:

This can currently only be done in character mode (MODE=Character) and only by using Printer Escape Code in the Printer Definition files. See the manual for adding Printer Codes to the Printer Definition Files.

Printer Escape Codes can be embedded before/after each layout object. The best place to add the codes in your case would be on a frame or repeating frame on the object embedding the page content.

Release 3.0 (Developer/2000 Release 2.0) will have controls for bitmapped reporting as well.

2. How to pass single quote in RUN_PRODUCT call.

The single quote has to be escaped. This can be done by adding double-quotes '"' around the expression in question:

ADD_PARAMETER(.. TEXT_PARAMETER, "Name=O'brian") RUN_PRODUCT(..) Rgds,



Per Brondum
Developer/2000 Received on Sun Jul 21 1996 - 00:00:00 CEST

Original text of this message