home *** CD-ROM | disk | FTP | other *** search
-
- Private Sub cmdFirst_Click()
-
- ' If rsMain has been assigned, move to the first
- ' record in the recordset and update the scroll
- ' bar's position.
- If Not (rsMain Is Nothing) Then
- rsMain.MoveFirst
- hsbRecScroll.Value = 1
- End If
-
- End Sub
-
-
- Private Sub cmdLast_Click()
-
- ' If rsMain has been assigned, move to the last
- ' record in the recordset and update the scroll
- ' bar's position.
- If Not (rsMain Is Nothing) Then
- rsMain.MoveLast
- hsbRecScroll.Value = hsbRecScroll.Max
- End If
-
- End Sub
-