Mime-Version: |
1.0 (Apple Message framework v750) |
Content-Type: |
text/plain; charset=US-ASCII; delsp=yes; format=flowed |
Date: |
Tue, 6 Jun 2006 12:22:10 -0400 |
Reply-To: |
|
Subject: |
|
From: |
|
In-Reply-To: |
<p06230913c0ab567d005f@[128.253.187.23]> |
Content-Transfer-Encoding: |
7bit |
Sender: |
|
Parts/Attachments: |
|
|
On Jun 6, 2006, at 11:59 AM, Bill Steele wrote:
> I have a Filemaker script that works the first time you run it.
> Second time you run it on the same record gives an error "Data is
> being accessed by another user, script or transaction." If you
> scroll to a previous record and back it works. If you open the
> script and look at it and try again it works.
>
> I have narrowed the problem down to a step in a "Perform
> Applescript" step that assigns a variable to a field, to wit:
>
> tell current record
> set field "filename" to filename
> end tell
>
> (This is a trick to move a variable from the Applescript to where
> another Filemaker script step can use it.)
>
> Apparently once it has done this it thinks the script is somehow
> still connected to that field, even though the script finished
> running three minutes ago. How do I convince it otherwise?
Does the FileMaker Script which calls this applescript do anything
after the applescript? What version of FileMaker? Is the database
shared?
There are probably some simple FileMaker Script steps that would fix
the problem.
Loop
next record/request (exit after last)
previous record/request
exit loop
end loop
refreshing the screen might even do it.
|
|
|