Results 1 to 11 of 11
  1. #1
    djclntn is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2011
    Posts
    476

    The Refresh Button....?


    Quite often I use the "Refresh" button in my Forms to update my data. The problem is, when I click on the Refresh button it takes me back to the first record in my Form; I may have over 800+ Records. Is the any way I can cinfigure Access to when I click on Refesh it goes to the last Record vs. to the first Record?



    Thanks

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

  3. #3
    djclntn is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2011
    Posts
    476
    I'm sorry, but I don't follow how to go about writing a command for what you suggested. I followed your link to your site, read the instructions several times & even viewed the ReQuery dbs. I'm not at all a "programmer" & require some more help if you're willing.

    Thanks thus far.

  4. #4
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Why don't you post your db, or a representative sample, and we'll figure out what you're doing wrong?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    Stingaway is offline Efficiency Junkie
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2011
    Location
    The deep south. Keep going until you hit water basically.
    Posts
    224
    If you can place a descending sort in your original query on any field (date comes to mind) then you should be okay... by default I don't think there is a general option that sets the value of the refresh in any particular order other than record view (first to last). Refresh is used in queries, tables,, forms, etc.. so I would doubt there would be a default. (Could be incorrect though... it happens..)

  6. #6
    Mclaren is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2010
    Location
    Johannesburg
    Posts
    164
    this is what i use:

    DoCmd.GoToRecord , , acLast

  7. #7
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    If you don't have your answer, you may want to clarify the goal, as some of us are interpreting it differently. Does "last record" mean the last record in the recordset or the last record you were working on (which may or may not be the last record entered)?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  8. #8
    Stingaway is offline Efficiency Junkie
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2011
    Location
    The deep south. Keep going until you hit water basically.
    Posts
    224
    yeah you could set up a button to do a refresh/requery and then use Mclaren's idea...

  9. #9
    djclntn is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2011
    Posts
    476
    Guys, Thank you for all of your help & imput, really! There is a very simply solution to my inquiry which olny takes 1-sec. If I'm working in a Datasheet Form & when I want to Refresh, in order to return back to the last Record on the Form I simply click on the last Record button on the bottom. Not to be smart, but I feel like a fool & wonder why nobody suggested this simple method. Yeah, it would have been nice that when I click the Refresh button it goes to the last record on the Form vs. the first Record, but I can live without that wish.

    Thanks pd & all!

  10. #10
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Quote Originally Posted by djclntn View Post
    wonder why nobody suggested this simple method.
    Perhaps because you asked "Is the any way I can cinfigure Access to when I click on Refesh it goes to the last Record vs. to the first Record". "Configure" implies a built-in or programmatic solution, not a "tell the user to click on whatever" solution.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  11. #11
    djclntn is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2011
    Posts
    476
    Fair Enough & point indeed well taken

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

Similar Threads

  1. Refresh Button
    By JayX in forum Access
    Replies: 1
    Last Post: 12-16-2011, 10:16 AM
  2. Access 2010 Refresh VS Refresh ALL
    By Snwboarder1982 in forum Access
    Replies: 1
    Last Post: 09-09-2011, 04:07 PM
  3. How to refresh reports?
    By accessmatt in forum Reports
    Replies: 4
    Last Post: 09-01-2011, 08:19 AM
  4. Combo refresh
    By gafoor in forum Forms
    Replies: 0
    Last Post: 03-02-2011, 04:24 AM
  5. Replies: 3
    Last Post: 02-14-2011, 02:18 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