Results 1 to 7 of 7
  1. #1
    duddu is offline Novice
    Windows 8 Access 2016
    Join Date
    Jun 2017
    Posts
    13

    Access Forms

    Hi, I'm new to Ms Access.


    I need some help to do this task::
    I have 5000 records and when I open forms by ascending order and updated something in the form and click the save button that form need to be closed form doesn't appear for the next person.. and next form will be open for ready to fill..

    Appreciated for your help!!


    Sent from my iPhone using Tapatalk

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    There is no reason for a save button. Unless you take extraordinary steps, Access always saves changes to a record when you move to a new record or close the form.

  3. #3
    davegri's Avatar
    davegri is offline Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,741
    Instead of a 'Save' button, you need a 'Next' button.
    Code:
    Private Sub cmdNext_Click()
        On Error Resume Next
        DoCmd.GoToRecord , "", acNext
    End Sub

  4. #4
    duddu is offline Novice
    Windows 8 Access 2016
    Join Date
    Jun 2017
    Posts
    13

    Forms in Ms access

    Once update something in the form and saving the table I want to not show up again for the next person. Once it is saved like its a closed record.


    Sent from my iPhone using Tapatalk

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    I merged your threads since they ask the same question. You'll need a field that flags the record as having been dealt with. It could be a date/time, yes/no, or whatever. Set this field in the before update event of the form and base the form on a query that excludes records that have been dealt with.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  6. #6
    duddu is offline Novice
    Windows 8 Access 2016
    Join Date
    Jun 2017
    Posts
    13
    Quote Originally Posted by pbaldy View Post
    I merged your threads since they ask the same question. You'll need a field that flags the record as having been dealt with. It could be a date/time, yes/no, or whatever. Set this field in the before update event of the form and base the form on a query that excludes records that have been dealt with.
    I really have no idea. Could you please tell me step by step How to create a flag in field? And query.!



    Sent from my iPhone using Tapatalk

  7. #7
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228
    He did give some examples, But a good one could be to create a field to mark "completion_date" or whatever you want. Then when you chose to save that record it could trigger an update query to add a date for when you completed.

    Then all you do is load your list form excluding records with a completed date.

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

Similar Threads

  1. Replies: 2
    Last Post: 04-05-2016, 08:29 AM
  2. Replies: 1
    Last Post: 09-01-2015, 02:01 PM
  3. Replies: 3
    Last Post: 10-31-2013, 02:36 PM
  4. Replies: 3
    Last Post: 10-23-2013, 08:11 AM
  5. Replies: 2
    Last Post: 11-21-2012, 09:57 AM

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