Home > Designing and creating databases > Creating scripts to automate tasks > Scripting with Apple events (OS X) > Apple events error: "Data is being accessed by another user, script, or transaction" (-10011)
Apple events error: "Data is being accessed by another user, script, or transaction" (-10011) This error can be generated if: • the Apple event is processing one or more records, and processing is prevented because another user has one or more records locked up • access privileges prevent some records from being modified • an Apple event arrives while a script is being processed • other, similar events occur while a transaction is taking place For Apple events that fail for one of these reasons, the locked/protected records will be skipped and an error will be returned at the end of the transaction.