using Slider control to move records

E

efandango

Can someone tell me if is possible to use the MSoft Slider control to move
records on a master form?


If so, how would I go about doing this?

My master record control is called: Forms![frm_Runs]![Run_No]
 
E

efandango

I have tried using this (adapted) code, but when I ue the slider, nothing
happens?...

Private Sub Slider8_Updated(Code As Integer)

Dim rst As DAO.Recordset

Set rst = Me.frm_Runs.RecordsetClone
rst.MoveLast
rst.MoveFirst
On Error Resume Next
With Me.Slider8.Max = _
Me.frm_Runs.RecordsetClone.RecordCount
Me.Slider8.Value = 1
End With
End Sub

I adapted the code from this Microsoft reference:
http://msdn.microsoft.com/archive/d...ceDeveloperForumMicrosoftAccessODESamples.asp

Can someone tell me where I am going wrong with this?
 
E

efandango

thought I would bump this in case someone can help, but missed the post first
time around...

efandango said:
I have tried using this (adapted) code, but when I ue the slider, nothing
happens?...

Private Sub Slider8_Updated(Code As Integer)

Dim rst As DAO.Recordset

Set rst = Me.frm_Runs.RecordsetClone
rst.MoveLast
rst.MoveFirst
On Error Resume Next
With Me.Slider8.Max = _
Me.frm_Runs.RecordsetClone.RecordCount
Me.Slider8.Value = 1
End With
End Sub

I adapted the code from this Microsoft reference:
http://msdn.microsoft.com/archive/d...ceDeveloperForumMicrosoftAccessODESamples.asp

Can someone tell me where I am going wrong with this?



efandango said:
Can someone tell me if is possible to use the MSoft Slider control to move
records on a master form?


If so, how would I go about doing this?

My master record control is called: Forms![frm_Runs]![Run_No]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top