C
Chaplain Doug
I have a form with student names and a select box. I am
trying to build a button that will select all the
nongraduates in the group. The code I use behind the
button is:
Set rst = Me.Recordset
With rst
.MoveFirst
While Not .EOF
If Not ![Grad] Then
.Edit
![Selected] = True
.Update
End If
.MoveNext
Wend
.MoveFirst
.Close
End With
Me.Requery
When this code runs my continuous form moves down through
the records and ends with a blank screen. All I want it
to do is change the (selected) check box, but otherwise
leave the screen alone. How may I do this.
trying to build a button that will select all the
nongraduates in the group. The code I use behind the
button is:
Set rst = Me.Recordset
With rst
.MoveFirst
While Not .EOF
If Not ![Grad] Then
.Edit
![Selected] = True
.Update
End If
.MoveNext
Wend
.MoveFirst
.Close
End With
Me.Requery
When this code runs my continuous form moves down through
the records and ends with a blank screen. All I want it
to do is change the (selected) check box, but otherwise
leave the screen alone. How may I do this.