Agent to edit and save the document

How to write the agent to edit and save documents in a database by using lotus script? Thanks!!!

Subject: agent to edit and save the document

Try this:

success = doc.ComputeWithForm( False, False )

If success Then

Call doc.Save( True, True )

End If