import-bot (20211) [Avatar] Offline
#1
[Originally posted by dmgibbs]

Folks:

I'm trying to write a stand alone java program that manipulates the documents
in a notes database.

Basicly, I get a database and iterate through the documents in the database,
executing the doc.sign() and doc.save() methods against each one.

The problem is: doc.save() returns false each time ... and I can't figure out
why it is doing that. Is there any way to determine WHY doc.save() fails? I
kind of expected it to throw an exception of it cannot do the save.

Thanks!

david
import-bot (20211) [Avatar] Offline
#2
Re: doc.save() returns false???
[Originally posted by aspatton]

Have you tried using the save method with the force parameter?

doc.save(true);

Do you have access to the documents; are there any reader/author fields to
prohibit you from making changes?

Tony.