Results 1 to 3 of 3
  1. #1
    JamesRocklyn is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2013
    Posts
    2

    have form stay on current record


    I have a calendar, where the left side of my form has constant data and the right side displays meetings for the week. When I toggle to my next weeks events, my form goes to the first record and I cannot figure out how to keep it on the current record. I have looked at .bookmark but that isn't making sense to me, I have figured out how to count the mouse scroll, so I know I am on record 17 (as an example) but the only way I have been able to update my calendar based on it being a different week is to do a requery and then I can't get back to record 17. It looks like I should be working in datasets but have not found good explanations or videos to show how this would work.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,522
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,527
    You can filter the record so its the only date records needed:

    me.filter = "[date] between #" & me.txtStartDate & "# and #" & me.txtEndDate & "#"
    me.filterOn = true

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Stay on the same record after requery
    By khansolo in forum Programming
    Replies: 3
    Last Post: 11-17-2017, 09:35 AM
  2. Replies: 11
    Last Post: 04-09-2016, 08:54 PM
  3. Stay on current Field
    By tcheck in forum Access
    Replies: 2
    Last Post: 10-03-2013, 05:23 PM
  4. Requery But Stay on Same Record
    By burrina in forum Forms
    Replies: 1
    Last Post: 12-18-2012, 03:08 PM
  5. Refilter form and stay on same record
    By ny1994rangers in forum Forms
    Replies: 1
    Last Post: 04-17-2012, 12:04 PM

Tags for this Thread

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