Results 1 to 2 of 2
  1. #1
    danbo is offline Advanced Beginner
    Windows 7 32bit Access 2010 64bit
    Join Date
    Dec 2011
    Posts
    55

    Question refreshing tables?

    I have a form that has customer data. Fname, Lname, Pnumber etc. Due to record keeping requirements, once they are no longer a customer I MUST delete information about them. However, some of the information remains. therefore, I have created a page that when you click, "Delete/Copy" button a new form is brought up with the information we have to keep already in place. Once this information in confirmed you save/close that form and you're brought back to the original form. Click the Delete/copy button again and the customer is deleted.
    the problem I have is that the customer that is created is put into the table but I have to hit the "refresh all" tab in order for his/her data to become available.

    Question:
    Is there a VBA that will cause the tables to refresh?

    thanks in advance!

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    Tables don't need to be refreshed. Refresh the form's recordset. In VBA this is the Refresh or Requery method. Include line in the Delete/copy button: Me.Requery
    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.

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

Similar Threads

  1. Refreshing Linked Tables Hangs
    By blamb in forum Access
    Replies: 0
    Last Post: 12-05-2011, 12:36 PM
  2. SubForm not refreshing
    By hawkins in forum Access
    Replies: 2
    Last Post: 08-16-2011, 04:30 PM
  3. Refreshing a subform?
    By Shag84 in forum Forms
    Replies: 4
    Last Post: 08-07-2011, 10:07 AM
  4. Link Tables Not Refreshing
    By goodguy in forum Import/Export Data
    Replies: 14
    Last Post: 01-04-2011, 12:49 PM
  5. Refreshing queries without opening them
    By trialpayjinn in forum Access
    Replies: 3
    Last Post: 07-01-2010, 05:04 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