Manage Learn to apply best practices and optimize your operations.

Save your reports in a Notes document

Save reports in Notes.

Create your HTML report and save the result in a Notes document. This tip works both in Notes and Web. In Notes, use UIView event queryOpenDocument with an workspace.OpenUrl method.

In the Notes form, write the code to retrieve data, and write the html-code in a text variable, like this:

'Variable for save html
dim html as string     
html=html+"<table  width=100% border=0 cellspacing=1 cellpadding=3>"
do while not doc is nothing
html=html+"<tr style='font-  family:Verdana; font-size=10pt;color:midnightblue;background-color:whitesmoke'>"	

' at the end, save the text variable in
' a rich text item named HTML
' note that the field MUST be named HTML!)

Dim rtitem As NotesRichTextItem
Set rtitem = New NotesRichTextItem(doc, "HTML" )
Call rtitem.AppendText( html )

Now, reopen the document and the report appears!

This was last published in August 2001

Dig Deeper on Domino Resources - Part 5

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.




  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...