BUG: First of Two Bound Masked Edit Controls Clears on AddNewLast reviewed: March 12, 1997Article ID: Q142927 |
4.00 | 4.00Windows | Windows NT kbprg kbbuglist The information in this article applies to:
SYMPTOMSOnly the first of two bound Masked Edit Controls clears when clicking on the move next button off the last record of the recordset when the EOFAction property of the data control is set to 2-Add New.
CAUSEWhen you click on the move next button to add a new record, both Masked Edit Controls should clear. This is a bug between the interaction of the data control and the Masked Edit Box control.
WORKAROUNDPlace the following code in the Validate event of the data control:
Private Sub Data1_Validate(Action As Integer, Save As Integer) If Action = vbDataActionAddNew Then MaskEdBox1.SelText = "" MaskEdBox2.SelText = "" End If End Sub STATUSMicrosoft has confirmed this to be a issue in the Microsoft products listed at the beginning of the article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Problem in Visual Basic Version 4.0
|
Additional reference words: 4.00 vb4win
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |