Results 1 to 4 of 4
  1. #1
    JRINC is offline Novice
    Windows XP Access 2007
    Join Date
    Sep 2011
    Posts
    9

    How quickly does a Form record update?

    I am designing a way to print pre-selected addresses on mailing labels.



    Admin opens Form and chooses labels by clicking in a yes/no box. Then opens a Report designed to print the labels. The Report opens in preview mode. I have noticed that you have to save the Form after checking the boxes or the changes will not show up in the label sheet preview.

    Is this normal? Or is there a lag? I thought Access saved changes almost immediately. Any solutions?

  2. #2
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    Access only saves if you exit the record (by closing or moving to another record) or explicitly save. So, you would need to include this in the After Update of the checkboxes to make it immediate:

    Code:
    Me.Dirty = False
    Last edited by boblarson; 10-12-2011 at 01:46 PM. Reason: add qualifying info

  3. #3
    JRINC is offline Novice
    Windows XP Access 2007
    Join Date
    Sep 2011
    Posts
    9
    Error: Access cannot find the object 'Me.'

    Added Me.Dirty = False to AfterUpate on Form (check box settings)

  4. #4
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    Quote Originally Posted by JRINC View Post
    Error: Access cannot find the object 'Me.'

    Added Me.Dirty = False to AfterUpate on Form (check box settings)
    You added it to the wrong place. It doesn't go in the event property of the properties dialog, it goes in the VBA window.

    See here for an example:
    http://www.btabdevelopment.com/ts/eventcode

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

Similar Threads

  1. same form for new and update record
    By lizu in forum Forms
    Replies: 3
    Last Post: 06-20-2011, 08:34 AM
  2. Single Record Update Query from a Form
    By Steven.Allman in forum Access
    Replies: 0
    Last Post: 03-30-2011, 09:34 AM
  3. Update new record when leaving form
    By jpkeller55 in forum Access
    Replies: 6
    Last Post: 09-08-2010, 06:35 AM
  4. Run Update Query on Current Record in Form
    By c3pse in forum Queries
    Replies: 3
    Last Post: 08-14-2010, 05:40 AM
  5. Placing images quickly
    By marcello.dolcini in forum Import/Export Data
    Replies: 1
    Last Post: 10-20-2008, 06:05 AM

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