A Stored form cannot contain computed subform

Dear all,

I am using agent to send the reminder through user mailbox. But mail that sent once open by user it pop out message “A Stored Form cannot contain computed Subform”. What caused this to happen? Below is the script that written.

Set doc=mdb.Createdocument

doc.Form = “Memo”

doc.SendTo = receiver

doc.Subject = "Task Start Date Reminder for Site ID : " & id & " - Task : " & Sb & " (Scheduled start date : " & Cstr(idoc.Project_RevStart(0)) & “)”

et rtitem = New NotesRichTextItem( doc, “Body” )

Call rtitem.AppendText("Please be informed that the " & Sb & " for Site Name : " & proj & " ( " & id & " ) is scheduled to start on " & Cstr(idoc.Project_RevStart(0)) & ". " & Chr$(13) & Chr$(13) & “Thank you”)

Call rtitem.AddNewLine( 2 )

Call doc.Send(True)

Please help, thank you

Subject: A Stored form cannot contain computed subform

Hi,

After seeing your agent, I feel that you dont need to store the

form while sending the agent as the form is of type “Memo” and you have not added any other fields which need to be displayed.

Put doc.send(False) which will just send the mail without any stored form and the user will be able to open the document with the “Memo” form in his inbox.