M
magmike
I have a subform that is continuous, but only shows the records
related to a company (not important really).
On that subform I have buttons for scrolling (I don't like the way
scroll bars reserve the space when there isn't a need for a scrollbar
and you can't control the color of the reserved space - it's a
personal aesthetic idiosyncrasy) and the code behind the "up" button,
for example, is this:
Private Sub Command8_Click()
Dim nControl As String
nControl = "nText"
DoCmd.GoToControl nControl
DoCmd.GoToRecord , , acPrev
End Sub
How can I code it to continue going through previous records if the
user presses the command button and holds it down?
Thanks in advance!
magmike
related to a company (not important really).
On that subform I have buttons for scrolling (I don't like the way
scroll bars reserve the space when there isn't a need for a scrollbar
and you can't control the color of the reserved space - it's a
personal aesthetic idiosyncrasy) and the code behind the "up" button,
for example, is this:
Private Sub Command8_Click()
Dim nControl As String
nControl = "nText"
DoCmd.GoToControl nControl
DoCmd.GoToRecord , , acPrev
End Sub
How can I code it to continue going through previous records if the
user presses the command button and holds it down?
Thanks in advance!
magmike