18.01.2013 Views

LotusScript for Visual Basic Programmers - IBM Redbooks

LotusScript for Visual Basic Programmers - IBM Redbooks

LotusScript for Visual Basic Programmers - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

We create a new database on a local server. The file name of the database is<br />

SALEDISC and it uses discuss as the database template.<br />

Set db = discuss.CreateFromTemplate_<br />

("", "SALEDISC", True)<br />

We set the new database db’s title property to “Sales Discussion Database”.<br />

db.Title = "Sales Discussion Database"<br />

Note In Lotus Notes Release 4.5, a new front-end class will be available,<br />

NotesUIDatabase. This class can only be used in <strong>LotusScript</strong>. In an opened<br />

database, you can use it to access the current database using scripts.<br />

Chapter 7: Accessing Notes Databases 133

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!