Showing the Reason and Status of the ADO Recordset MoveComplete Event

Visual Studio 6.0

This simply sets the Boolean variable, showInfo, in our class to true or false. When the user checks the check box, we set the displayMoveComplete property to true (the value of the check box). Now when the user moves to the next record, our message box in the class will be displayed.

11.  Add this code to the form's Check1_Click event:

Private Sub Check1_Click()
clsBoundClass.displayMoveComplete = Check1.Value
End Sub

© 1998 by Wrox Press. All rights reserved.