Re: AppleScript Error "Data is being accessed by another user, script, or transaction"
Re: AppleScript Error "Data is being accessed by another user, script, or transaction"
- Subject: Re: AppleScript Error "Data is being accessed by another user, script, or transaction"
- From: Damon Casey via AppleScript-Users <email@hidden>
- Date: Mon, 26 Jun 2023 10:11:30 +0100
John,
FileMaker record locking can occur in many different ways and places.
Rather than trying to troubleshoot if this is happening in a different window
for the same user, or a different user or another process has the record
locked, I’d recommend using the Open Record script step and trapping for an
error and if no error has occurred to proceed with the AppleScript.
You can trap for error 200, Record access is denied, where the user doesn’t
have privileges to edit the record or 301, Record is in use by another user,
where the record is locked.
Best regards,
--
Damon Casey.
> On 25 Jun 2023, at 12:52, Ray Robertson via AppleScript-Users
> <email@hidden> wrote:
>
>> errNum: -10011
>> errMsg: Data is being accessed by another user, script, or transaction.
>
> John,
>
> It’s been so long since I worked with FM, but this is ringing a faint bell in
> a very distant memory. Is it possible FileMaker considers the record busy…in
> the process of being edited? I seem to remember there was a trick to making
> sure no fields were currently being editing. No active cursor anywhere in a
> text field, for example.
>
> Ray
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden