Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using a Verical Scrollbar to Select Records

Status
Not open for further replies.

PaultheS

Programmer
May 12, 2005
92
CA
Hi, I'm using a single form and I'd like to be able to use a scrollbar to scroll down through my records (like when looking at powerpoint slides). A continuous form is not practical in this case. Is there a way to do this?
 
I would thnk something like this would be functional


Private Sub Form_Load()
Me.RecordsetClone.MoveLast
Me.RecordsetClone.MoveFirst
Me.scroll1.Max = Me.RecordsetClone.RecordCount
End Sub

Private Sub scroll1_Updated(Code As Integer)
DoCmd.GoToRecord , , acGoTo, Me.scroll1.value + 1
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top