Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    Rod is offline Expert
    Windows 7 32bit Access 2007
    Join Date
    Jun 2011
    Location
    Metro Manila, Philippines
    Posts
    679
    Using rs.MovePrevious instead of the DoCmd won't move the recordselector on form.
    Good grief, I thought, I never knew that. Then I got to thinking that I surely would have noticed and anyway it would mean that the form and the recordset were out of step, were not synchronised. So I did some rudimentary tests and happily watched the record selector go up and down a list of records on a continuous form using Me.Recordset.MoveNext and Me.RecordSet.MovePrevious.

    Then I realised that you were referring to the clone, so let me be pedantic (am I still allowed to use that word? ).



    Any movement, however caused, of the base pointer/cursor of a recordset will be reflected on a bound form. Any movement of a cloned pointer/cursor will not be reflected on a bound form - it's the whole point and power of clones.

  2. #17
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,633
    Yes, I use RecordsetClone to manage what happens if the form pointer is already at BOF or EOF. Alternatively, Me.Recordset.MovePrevious/MoveNext triggers a run-time error that could be dealt with error handler.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Compile Error: Syntax Error in DoCmd.RunSQL Statement
    By Evilferret in forum Programming
    Replies: 1
    Last Post: 08-27-2012, 12:32 PM
  2. Replies: 7
    Last Post: 06-08-2012, 09:55 PM
  3. Replies: 4
    Last Post: 06-08-2012, 09:08 AM
  4. Replies: 6
    Last Post: 11-24-2011, 08:38 PM
  5. Replies: 6
    Last Post: 09-28-2011, 09:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums