ExportSheetsAsHtml function in ReportScript

ExportAsHtml(BOReport Class)

Function ExportAsHtml( FileName as String, _
Graphs as Bool, _
Borders as Bool, _
Background as Bool, _
Foreground as Bool, _
Font as Bool, _
FreeForm as Bool, _
Frames as Bool, _
AutoRefreshTime as Long, _
[HtmlLayout as Long]) as Bool

Syntax:

objectvar.ExportAsHtml(szfilename, _
nGraphs, _
nBorders, _
nBackground, _
nForeground, _
nFont, _
nFreeForm, _
nFrames, _
nAutoRefreshTime, _
[HtmlLayout])

szfilename
nGraphs to display charts and pictures
nBorders to display borders
nBackground to display text colors
nForeground to display text colors
nFreeForm to set free-form layout
nFrames to use a frame
nAutoRefreshTime

HtmlLayout to specify the type of page layout: 0 = All in one page. This is the default. 1 = Show each section of the report on a separate page.
A table of contents column appears on the left of the page. 2 = Both. A table of contents column appears on the left of the page.

autorefresh to set automatic reload every x secounds (as opposed to minutes in the dialog box)

Example:

Set Rep1 = Doc1.Reports.Item(1)
Call Rep1.ExportAsHtml(MyFN$, B1, B2, B3, B4, B5, B6, B7, AutoRefresh, HtmlLOut)

BERATA AG (Switzerland)
Gundeldingerstr. 432
CH-4053 Basel
++41-61-338 92 92

Yves A. Liechti
LIECHTI@BERATA.COM / WWW.BERATA.COM


Listserv Archives (BOB member since 2002-06-25)