A .p file in your UD directory that contains something similar to below
should do what you describe. On my Report PC I do the same (eg
V:\PROGRESS\bin\prowin32.exe -db V:\VANTAGE\DB\VANTAGE.DB -N TCP -H
X.X.X.X -S EPIC50 -p V:\vantage\ud\AReport.p), and then a few minutes later
have a ScriptIT routine that inserts the contents of the TXT file into a
mail message. Formatting the output of the RB report is the only messy bit.
RUN v:\progress\gui\aderb\_printrb(
"v:\vantage\ud\Reports.prl", /* RB-REPORT-LIBRARY
*/
"Report A", /* RB-REPORT-NAME */
"", /* RB-DB-CONNECTION */
"", /* RB-INCLUDE-RECORDS
*/
"", /* RB-FILTER */
"", /* RB-MEMO-FILE */
"A", /*
RB-PRINT-DESTINATION */
"", /* RB-PRINTER-NAME */
"", /* RB-PRINTER-PORT */
"C:\VntgWork\ReportA.Txt", /* RB-OUTPUT-FILE */
0, /* RB-NUMBER-COPIES -
zero */
0, /* RB-BEGIN-PAGE -
zero */
0, /* RB-END-PAGE - zero
*/
no, /* RB-TEST-PATTERN */
"", /* RB-WINDOW-TITLE */
yes, /* RB-DISPLAY-ERRORS
*/
yes, /* RB-DISPLAY-STATUS
*/
no, /* RB-NO-WAIT */
""). /* RB-OTHER-PARAMETERS
*/
QUIT
PS You could add something like <<<MESSAGE "Report exported to
C:\VntgWork\ReportA.Txt".>>> if you wanted to provide a little user
feedback. It is well worth your while downloading a couple of the Progress
PDF files.
-----Original Message-----
From: Todd Hofert [mailto:thofert@...]
Sent: Thursday, 7 February 2002 1:35 AM
To: Vantage List (E-mail)
Subject: [Vantage] Report Export
Is there a way to put a menu item in the Vantage Menu Structure that will
allow a user to Export
a Report Builder Report to a file rather than print it?
Todd Hofert
Spartan Graphics, Inc.
(616)887-8243
should do what you describe. On my Report PC I do the same (eg
V:\PROGRESS\bin\prowin32.exe -db V:\VANTAGE\DB\VANTAGE.DB -N TCP -H
X.X.X.X -S EPIC50 -p V:\vantage\ud\AReport.p), and then a few minutes later
have a ScriptIT routine that inserts the contents of the TXT file into a
mail message. Formatting the output of the RB report is the only messy bit.
RUN v:\progress\gui\aderb\_printrb(
"v:\vantage\ud\Reports.prl", /* RB-REPORT-LIBRARY
*/
"Report A", /* RB-REPORT-NAME */
"", /* RB-DB-CONNECTION */
"", /* RB-INCLUDE-RECORDS
*/
"", /* RB-FILTER */
"", /* RB-MEMO-FILE */
"A", /*
RB-PRINT-DESTINATION */
"", /* RB-PRINTER-NAME */
"", /* RB-PRINTER-PORT */
"C:\VntgWork\ReportA.Txt", /* RB-OUTPUT-FILE */
0, /* RB-NUMBER-COPIES -
zero */
0, /* RB-BEGIN-PAGE -
zero */
0, /* RB-END-PAGE - zero
*/
no, /* RB-TEST-PATTERN */
"", /* RB-WINDOW-TITLE */
yes, /* RB-DISPLAY-ERRORS
*/
yes, /* RB-DISPLAY-STATUS
*/
no, /* RB-NO-WAIT */
""). /* RB-OTHER-PARAMETERS
*/
QUIT
PS You could add something like <<<MESSAGE "Report exported to
C:\VntgWork\ReportA.Txt".>>> if you wanted to provide a little user
feedback. It is well worth your while downloading a couple of the Progress
PDF files.
-----Original Message-----
From: Todd Hofert [mailto:thofert@...]
Sent: Thursday, 7 February 2002 1:35 AM
To: Vantage List (E-mail)
Subject: [Vantage] Report Export
Is there a way to put a menu item in the Vantage Menu Structure that will
allow a user to Export
a Report Builder Report to a file rather than print it?
Todd Hofert
Spartan Graphics, Inc.
(616)887-8243