I have an agent in a database that uses the @Command([MailComposeMemo]). When I try to run the agent the memo form appears along with the error “cannot locate field”. I click OK and the memo is populated with what I want to see. Does anyone know why this error is appearing? The mail template has not been changed, nor has the memo form. Here is the code from the agent;
SendToNames :=“name 1, name 2, name 3”;
tmp:=@Command([EditMakeDocLink]);
@Command([MailComposeMemo]);
@Command([EditGotoField]; “SendTo”);
@Command([EditInsertText]; SendToNames);
@Command([EditGotoField]; “Subject”);
@Command([EditInsertText]; "New Discussion Database Subject; " + Subject);
@Command([EditGotoField]; “Body”);
@Command([EditInsertText]; “”);
@Command([TextItalic]);
@Command([EditInsertText]; “”);
@Command([TextNormal]);
@Command([EditInsertText]; " You are invited to participate in a discussion, this discussions subject is " + " " + Subject + “” + . +@NewLine + @NewLine + "Double-click here to access the discussion => ");
@Command([EditPaste])