Microsoft KB Archive/117652

= PC Forms: Sender Does Not Appear in Read Reply Form =

Article ID: 117652

Article Last Modified on 10/30/2006

-

APPLIES TO

 Microsoft Exchange Electronic Forms Designer 5.0, when used with:  Microsoft Mail for PC Networks 3.0

 Microsoft Mail for PC Networks 3.2 

-



This article was previously published under Q117652



SYMPTOMS
In version 1.0 of Microsoft Electronic Forms Designer, if you follow the instructions for creating a Reply Form in the Developer's Guide (pages 112-115) the Sender's name does not appear on the Read Reply Form (frmReadReply).



CAUSE
There is no code in the ReadMessage procedure defined in EFORM.BAS to handle adding the Sender name to the Read Reply form (frmReadReply).



RESOLUTION
To include the Sender's name in the Read Reply Form, follow this procedure to add code to the ReadMessage procedure defined in EFORM.BAS: <ol> Open the E-form project in Visual Basic.</li> From the Project window, select EFORM.BAS.</li> Click the View Code button.</li> From the Procedure list box, select ReadMessage.</li>  Add the following code to process frmReadReply: If frm Is frmReadReply Then frm!txtOriginator = gOriginator.Name ' Check and see if the form has been saved since it was received modified = MEFReadLong(gPackage, "modified", 0) If modified <> 0 Then frm!lblFrom = "*&From:" End If     frm!txtDateReceived = MEFFormatMAPIDate(gMessage.DateReceived) End If </li> Save the project.</li> From the File menu, choose "Make EXE file" to build the new E-form executable.</li></ol>

<div class="references_section">