Results 1 to 5 of 5
  1. #1
    trident is offline Competent Performer
    Windows 8 Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    141

    Form not showing added record by another user

    I have created a database wherein other people can use simultaneously. I works great that we can use it, however, I have encountered several problems regarding the data.

    1. When staff1 enters a data in a form, he clicks a button, which saves and refresh the data table. A Serial Number counter is updated which is seen, this Serial Number is a unique number.
    2. When staff2 enters the same form, the form is automatically updated, however, the data that was entered by Staff1 cannot be seen, but, the unique serial number is updated.

    can you please explain why is this happening. As this database is heavily used, and this form is the data gatherer.



    Thank you in advance.

    Trident

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    It's possible that user2 would need a refresh button to see user1's data.
    i don't see why user2 needs to see this that soon. But if they do, a refresh will show it.

  3. #3
    trident is offline Competent Performer
    Windows 8 Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    141
    Thanks for the enlightenment, however, there lies the problem, I have set up the save button so that it always refresh the form and database with the below event embedded macro:

    RunMenuCommand
    Command SaveRecord
    RunMenuCommand
    Command Refresh
    GotoRecord
    Object Type Form
    Object Name FormName
    Record Last

    With this event procedure, is not that the data should be immediately seen by User1 or viceversa?

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    I don't use macros, but is requery an option rather than refresh? Also, if the form is in data entry mode it will not show records entered by other users.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  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
    Quote Originally Posted by trident View Post
    1. When staff1 enters a data in a form, he clicks a button, which saves and refresh the data table. A Serial Number counter is updated which is seen, this Serial Number is a unique number.

    2. When staff2 enters the same form, the form is automatically updated, however, the data that was entered by Staff1 cannot be seen, but, the unique serial number is updated.
    Three things:

    Refresh does nothing to the data Table...it refreshes the Form! The Table is updated ('refreshed,' in the normal sense of the word) when a Record is saved.

    Refresh doesn't show New Records or reflect Deleted Records...you need Requery for that, as Paul suggested. Refresh, on the Form used by staff1, only shows changes made to Records that existed when that Form was last Loaded/Requeried.

    Doing Refresh or Requery, using the Save button, on the Form used by staff1, will do nothing for the Form being used by staff2! In order for either to effect a change for a given copy of a Form, that copy of the Form has to be Refreshed/Requeried.

    Linq ;0)>

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

Similar Threads

  1. Replies: 4
    Last Post: 07-21-2015, 02:50 PM
  2. Replies: 6
    Last Post: 10-25-2012, 04:13 AM
  3. Replies: 2
    Last Post: 05-02-2012, 09:16 PM
  4. New record not being added to main form
    By hmcquade in forum Forms
    Replies: 10
    Last Post: 07-21-2011, 10:07 AM
  5. Criteria added to Query - Nothing showing
    By eabtx in forum Queries
    Replies: 1
    Last Post: 03-02-2009, 10:06 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