PRB: Number of Recipients is not Updated Under Window_Store

ID: Q182236

The information in this article applies to:

SYMPTOMS

If custom code is added to the Window_Store procedure of an Eforms project before the statement shown below, the message pointer (msg) does not reflect the number of recipients in the message anymore.

Here is the statement:

   Len(ctlTo.Text(0)) <> And fFILE_SEND_ON Then
      ctlTo.Action = RE_ACTION_SAVETOMSG;

CAUSE

The current message (msg) item does not get updated.

RESOLUTION

Parse the information stored under the ctlTo.Text(0) attribute and commit the information to the message (msg) item by adding each recipient to the recipients collection of the message (msg) using the Add method.

Keywords          : MAPIFORM xefd 
Version           : WINDOWS:1.0
Platform          : WINDOWS
Issue type        : kbprb

Last Reviewed: March 12, 1998