Results 1 to 5 of 5
  1. #1
    eduardo is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    4

    Assign F5 function to a button


    Hello, first thing I did was choosing the Run macro-Refresh form function from the list, but unfortunately it doesn't work.

    I need to make it so that if you click on the button the F5 refresh occurs.

    Will appreciate any help.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,900
    Why doesn't it work - error message, wrong results, nothing? Show the code for analysis. I use only VBA, easier to debug and more versatile.
    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.

  3. #3
    eduardo is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    4
    Quote Originally Posted by June7 View Post
    Why doesn't it work - error message, wrong results, nothing? Show the code for analysis. I use only VBA, easier to debug and more versatile.
    it just doesnt refresh. F5 does.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,900
    Show code for analysis or provide project. See instructions at bottom of my post.
    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.

  5. #5
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    When dealing with this type of issue, it's always a good idea to ask what, exactly, do you expect 'refresh' to do? The expectation often does not match up with the reality where this Command is concerned.

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

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

Similar Threads

  1. You can't assign a value to this object
    By boywonder in forum Programming
    Replies: 1
    Last Post: 09-08-2011, 04:54 PM
  2. Form command button to do something/call function
    By shubhamgandhi in forum Programming
    Replies: 2
    Last Post: 07-27-2011, 04:45 PM
  3. How to assign criteria for Yes/No?
    By AccessThis in forum Queries
    Replies: 1
    Last Post: 07-20-2010, 03:51 PM
  4. Replies: 6
    Last Post: 02-09-2010, 07:53 AM
  5. assign value from list
    By roman.pro in forum Forms
    Replies: 0
    Last Post: 05-16-2009, 04: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