Scroll bars

monad

New member
Local time
Today, 07:28
Joined
Aug 12, 2005
Messages
9
I'm trying to auto scroll the Detail Section where the user will able to see the last record on my continuous form.

Can anyone tell me how to do this?

My sincere thanks!
 
Cheesey, but this'll work for later version of Access...

Code:
Private Sub ShowLast(count as Integer)
  Dim i As Integer

[COLOR=Green]  'reference the recordset object[/COLOR]
  With Me.Recordset
[COLOR=Green]    'move to the last record[/COLOR]
    .Movelast
[COLOR=Green]    'move up a few records[/COLOR]
    For i = 1 to count
      .MovePrevious
    Next i
[COLOR=Green]    'and move to the last one again[/COLOR]
    .Movelast
  End With

End Sub
 
Thanks

Thank you lagbolt! I'll give it a try.
 
lagbolt

That did it lagbolt! Thanks again!
 

Users who are viewing this thread

Back
Top Bottom