AnsweredAssumed Answered

FM12 With Transaction Fails with Data is being accessed by another use

Question asked by JimGeldermann on Jul 28, 2013
Latest reply on Jul 28, 2013 by schamblee

Title

FM12 With Transaction Fails with Data is being accessed by another use

Post

     FileMaker Pro got an error: Data is being accessed by another user, script, or transaction. (-10011)

      

     This script works pre-12

      

      

withtransaction

tellapplication "FileMaker Pro"

do script fmImptScript

      

go to layout fmImpLayout

      

endtell

      

endtransaction

      
     The applescript is not waiting for the Filemaker script to finish executing.
      
     I've tried adding a commit in the Filemaker script but that had no effect.
     I've tried moving the with transaction inside the tell statement and encapsulated only the do script.

Outcomes