How to lock a record from table I want not lock a record from a form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Taken
    New Member
    • Jul 2015
    • 12

    #16
    my probem is when I test with two form, with loop an doevents for each user, on click on button, the edit of the first user (first click on button) will not be saved. the edit of the second user will be saved

    Comment

    • Rabbit
      Recognized Expert MVP
      • Jan 2007
      • 12517

      #17
      That's odd. Try 2,1,2

      Comment

      • Taken
        New Member
        • Jul 2015
        • 12

        #18
        That's it Robbit thank U so mutch,

        Comment

        • Rabbit
          Recognized Expert MVP
          • Jan 2007
          • 12517

          #19
          No problem, but you should be aware that the lock lasts only as long as the object. It won't keep the lock if the user wants to come back to the record later to finish up.

          Comment

          • Taken
            New Member
            • Jul 2015
            • 12

            #20
            Another Problem
            2, 1, 2 lock all the table, my aime was to lock one record
            2, 2, 3 lock one record but if two users clic for the same record
            the edit of the first user will be ignorent

            Comment

            • Rabbit
              Recognized Expert MVP
              • Jan 2007
              • 12517

              #21
              At this point, I don't know which combination is going to work, you could try all the possible combinations until you find the one that does.

              Comment

              • Taken
                New Member
                • Jul 2015
                • 12

                #22
                Ok thank you Rabbit, when I find the solution I'll post it

                Comment

                Working...