Re: AppleScript-Users Digest, Vol 20, Issue 31
Re: AppleScript-Users Digest, Vol 20, Issue 31
- Subject: Re: AppleScript-Users Digest, Vol 20, Issue 31
- From: john Mitchell via AppleScript-Users <email@hidden>
- Date: Tue, 27 Jun 2023 09:51:36 +1000
Christian and Damon
thanks for your replies.
Following up your comments I found that I was updating the doc record in FM
with an editor name (having committed the record creation process previously),
and when I then tried to add by Applescript the doc properties, it was blocked.
I like the idea of a Open Record script step and will implement it
>
> Message: 1
> Date: Mon, 26 Jun 2023 10:11:30 +0100
> From: Damon Casey <email@hidden>
> To: ML AppleScript Users <email@hidden>
> Subject: Re: AppleScript Error "Data is being accessed by another
> user, script, or transaction"
> Message-ID:
> <email@hidden>
> Content-Type: text/plain; charset=utf-8
>
> 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
>>
John Mitchell
_______________________________________________
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