How can I Prevent Lotus Notes Prompting to Save?

Anyone,

How can I prevent lotus notes from prompting me to save a new document or changes in lotus script? In formular language, I think this is how it is written:

@SetField(“SaveOptions”; “0”);

@Command([FileCloseWindow])

Please help!

Yoko

Subject: How can I Prevent Lotus Notes Prompting to Save?

You could have posted this in your other thread…anyhow, check my suggestion there.

Paul.

Subject: How can I Prevent Lotus Notes Prompting to Save?

like this

set doc = uidoc.document

doc.SaveOptions = “0”

Don’t forget to remove it to be able to save the document in the future.

Sub Postopen(Source As Notesuidocument)

Set doc = source.document

If doc.HasItem("SaveOptions") Then Call doc.RemoveItem("SaveOptions")

End Sub

HTH