Leon Chalnick
2004-10-25 22:56:04 UTC
Has anyone had any success producing HTML versions of reports via OPAL?
Not getting any error messages, but not getting any reports either, heheh.
Actually, what I'm trying to do is produce report output in an HTML file on
disk. Here's the code I'm using. BTW, I've copied the HTMLIB01 DLL into the
current working dir.
Please reply in email. TIA.
--Leon
type
HTMLReport = record
strURI string
strTitle string
iBGColor longInt
iTextcolor longInt
mHeader memo
mTemplate memo
lStatic logical
lMessage logical
endRecord
endtype
uses HTMLIB01
HTMLPublish_Report(var rpt report, var HTMLrec HTMLReport) Logical
enduses
method pushButton(var eventInfo Event)
var
rpt report
HTMLrec HTMLReport
endVar
HTMLrec.strURI = "d:\\pdoxdata\\myapp\\testrpt.html"
rpt.open(":repts:myreport.rsl", winstylehidden)
HTMLPublish_Report(rpt, HTMLrec)
rpt.close()
endMethod
Not getting any error messages, but not getting any reports either, heheh.
Actually, what I'm trying to do is produce report output in an HTML file on
disk. Here's the code I'm using. BTW, I've copied the HTMLIB01 DLL into the
current working dir.
Please reply in email. TIA.
--Leon
type
HTMLReport = record
strURI string
strTitle string
iBGColor longInt
iTextcolor longInt
mHeader memo
mTemplate memo
lStatic logical
lMessage logical
endRecord
endtype
uses HTMLIB01
HTMLPublish_Report(var rpt report, var HTMLrec HTMLReport) Logical
enduses
method pushButton(var eventInfo Event)
var
rpt report
HTMLrec HTMLReport
endVar
HTMLrec.strURI = "d:\\pdoxdata\\myapp\\testrpt.html"
rpt.open(":repts:myreport.rsl", winstylehidden)
HTMLPublish_Report(rpt, HTMLrec)
rpt.close()
endMethod