Dim session As New NotesSession Dim db As NotesDatabase Set db = session.CurrentDatabase Dim stream As NotesStream Set stream = session.CreateStream Dim filename as string Filename = "C:\"+db.title+".dxl" If stream.Open(filename) Then Dim nc As NotesNoteCollection Set nc = db.CreateNoteCollection(False) nc.SelectReplicationFormulas = True Call nc.BuildCollection Dim exporter As NotesDXLExporter Set exporter = session.CreateDXLExporter(nc, stream) Call exporter.Process End If
Do you have comments on this Ask the Expert Q&A? Let us know.
Related information from SearchDomino.com:
Dig Deeper on LotusScript
Related Q&A from Cregg Hardwick
A user wants to know if it's possible for LotusScript to read an attachment in a Notes document without first detaching it. Find out our expert's ... Continue Reading
Learn about different options using LotusScript code and Formula language to customize the principal field of outgoing Lotus Notes email messages. Continue Reading
Read about merging cells in a Microsoft Word table using LotusScript and an Excel example, along with the thought process that goes along with it. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.