MailForward is placing all info into Memo 'To' field

Recently our users have been upgraded from release 5.0.11 to 6.5.4. Some users have experienced a problem of having all the information in a MailForward show up in the ‘To’ field. In other words, the info which should show up in the ‘Subject’ field or ‘Body’ field is showing up in the ‘To’ field also. Does anyone have any ideas on what could be causing this? It seems to work fine for most users.

Here is a snippet of the code. It uses EditNextField to traverse through the fields.

@Set(“TempMsg”; “This is a system generated message.” + " A Page has been created for your approval in the following database: " + TempDBTitle + “.”);

@Set(“TempSendTo”; TempDistr);

@PostedCommand([EditMakeDocLink]);

@PostedCommand([MailForward]);

@PostedCommand([EditInsertText]; TempSendTo);

@PostedCommand([EditNextField]);

@PostedCommand([EditNextField]);

@PostedCommand([EditNextField]);

@PostedCommand([EditInsertText]; TempSubject);

@PostedCommand([EditNextField]);

@PostedCommand([EditInsertText]; TempMsg);

@PostedCommand([EditInsertText]; @NewLine);

@PostedCommand([EditInsertText]; TempDocMsg);

@PostedCommand([EditPaste]);

@PostedCommand([EditInsertText]; @NewLine)

Subject: MailForward is placing all info into Memo ‘To’ field

I’ve never seen anyone do it this way I had to look up “EditNextField”…" moves the insertion point to the next editable field in the document, working left to right, top to bottom".

I’d recommend changing the code to use something like:

@setfield(“SendTo”; TempSendTo)

Then, you can skip all the EditNextField and EditInsertText stuff. This should be faster, too.