Knowledge Base

PRB: Number of Recipients is not Updated Under Window_Store

Article ID: 182236

Article Last Modified on 3/4/2004


APPLIES TO


This article was previously published under Q182236

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: kbprb KB182236