or simply have a textbox to display the number and use the mouseup event to determine where the control was clicked to decide whether to increment or decrement the value - see example
and this is the code
Code:
Option Compare Database
Option Explicit
Const maxnum = 20
Private Sub Text2_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If X < Text2.width / 2 Then
If Text2 > 1 Then
Text2 = Text2 - 1
Else
MsgBox "cannot be zero", , vbOKOnly
End If
Else
If Text2 < maxnum Then
Text2 = Text2 + 1
Else
MsgBox "cannot be greater", , vbOKOnly
End If
End If
End Sub
Modify maxnum to be determined by your record count
You don't have to display the instructions - they are also in controltip text. You can also refine the location where action is required and add left/right arrow characters to the text (although this would stop it being numeric (use replace to get rid of them to change back to number)