Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 28 OCT 2009 10:41:24AM Simon Wilmot wrote:

Hi all,

I have seen that there have been some posts on this in the past, but with no real resolution.

My question is, if generating a report from Report Builder for example, and the Printer Setup menu option calls the UTILITY('PRINTSETUP') service, is there a way of interrogating and saving those selected options, particularly the orientation, for each report, and then using those selections next time ??

TIA,

Simon


At 29 OCT 2009 09:28AM Bob Orsini wrote:

These settings have no effect when printing the report. However there is a setting in report builder (print overrides) for forcing landscape or protrait and this setting does carry to the print.


At 29 OCT 2009 09:34AM Simon Wilmot wrote:

Hi Bob,

I presume that this a new'ish' feature in Report Builder, as when the original report builder was replaced by 'Reporter' many moons ago, we took the RB source and tailored it to our needs and still use it in our application in its original state ??

Obviously to do the same with the current RB would take quite a while, however, is the code for the Print Overrides window and associated properties etc available for us to use ??

Regards,

Simon


At 29 OCT 2009 09:50AM Bob Orsini wrote:

No, this code is embedded withing the report builder's code.


At 29 OCT 2009 09:56AM Simon Wilmot wrote:

I take it ORMAIN32 is not for public distribution then … :-(

And I presume that calling that particular window and setting the required properties would not be enough …

Simon


At 30 OCT 2009 04:49AM Simon Wilmot wrote:

No response …

The second question is really if I called ORMAIN32_OVERRIDE from our version of the original Report_Builder, would that work ??

Alternatively, would it be possible to have the source for that one window in order to work out the requirements to do this for ourselves.

Regards,

Simon

[email protected]


At 30 OCT 2009 08:10AM Bob Orsini wrote:

Ormain32_Override is just a simple dialog to allow the user to select how the report is to be displayed. The real code is built into the Ormain32 main logic.


At 30 OCT 2009 09:04AM Simon Wilmot wrote:

And no snippets of what that code is ;-) ???

Simon


At 05 NOV 2009 09:12AM Simon Wilmot wrote:

I take it thats a 'No' then :-(

Simon


At 09 NOV 2009 08:58AM Bob Orsini wrote:

Sorry about the repsonse Simon. I was on vacatioon. However you are right. The answer is no. Ormain32 is really the base program for the report builder module. The bottom line is that it adds LANDSCAPE to the list command.


At 09 NOV 2009 09:56AM Simon Wilmot wrote:

Hi Bob,

Good enough reason :o)

Ok - is LANDSCAPE a newish keyword in RList then ??

Thanks,

Simon


At 10 NOV 2009 08:21AM Bob Orsini wrote:

Rlist is not used in ormain32. Landscape is an option in the list statement used by Ormain to print in landscape.


At 10 NOV 2009 08:26AM Simon Wilmot wrote:

Ok, thanks. Does that mean the Landscape option wont actually set the printer, and if it does, which would override the other ??

Thanks,

Simon


At 11 NOV 2009 09:23AM Bob Orsini wrote:

Simon, perhaps if you give me a call we can review how this works in comparison with what you are doing.

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/6c0dd097b089ea058525765d0050b1da.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1