Moving records in blocks

O

Orlando

Hi, I have created a Tabular form, I would like to show just 15 records at a
time, I already change scrolls bars to neither, Records selector = NO and
navigations buttons = NO, because I want to move the records in blocks of 15
with a Command Button, I created like that:

Private Sub NextSubForm_Click()
On Error GoTo Err_NextSubForm_Click


DoCmd.GoToRecord , , acNext, 15

Exit_NextSubForm_Click:
Exit Sub

Err_NextSubForm_Click:
MsgBox Err.Description
Resume Exit_NextSubForm_Click

End Sub

But the problem is that the records are not moving, If some of you guys can
help me I’d appreciated
 
Top