Assigning fields to a form in script not working

Everything works fine in this script except that the last 2 fields:archive_db

failover_db

are not being created and therefore do not exist in the document properties of the resulting documents?

any ideas?

thks,

-MC

Dim log_doc As notesdocument

Set log_doc=this_db.CreateDocument()

				log_doc.form="Missing Archive and Failover Files Log"

				log_doc.fullname=person.fullname(0)

				log_doc.mail_server=person.mailserver(0)

				log_doc.archive_server=arc_server

				log_doc.archive_filepath=arc_filepath

				log_doc.archive_db=archive_db.Title

				log_doc.failover_db=failover_db.Title

				Call log_doc.Save(True,False)

PS I also tried:

log_doc.archive_db= Cstr(archive_db.Title)

log_doc.failover_db= Cstr(failover_db.Title)

Subject: Assigning fields to a form in script not working

Are you sure Archive_DB and Failover_DB are instantiated?