Re: Doing a FileMaker search from AppleScript
Re: Doing a FileMaker search from AppleScript
- Subject: Re: Doing a FileMaker search from AppleScript
- From: Ralph Richardson via AppleScript-Users <email@hidden>
- Date: Tue, 19 Apr 2022 14:16:05 -0700
I just tested this and it seem to work:
property theList : {"81705", "81706", "81707", "81708", "81709"}
tell application "FileMaker Pro"
activate
tell database "WebFiles"
delete every request
repeat with theSet in theList
set theSet to theSet as string
delete every request
set request1 to create new request
tell request1
set field "FileName" of request1 to theSet & "*"
end tell
find
try
set data field "Check" of every record of window "WebFiles" to "X"
end try
delete request1
end repeat
show every record
end tell
end tell
Ralph Richardson
SmartPractice
602.225.0595 x7266
On Tue, Apr 19, 2022 at 1:49 PM <email@hidden> wrote:
>
>
> On Apr 19, 2022, at 1:37 PM, Ralph Richardson <email@hidden>
> wrote:
>
> try adding
> delete request1
> right after you update the found record(s)
>
>
> Nope. Same thing. In case this helps, adding:
>
> *count* *of* *records*
>
> anywhere in the script returns 0, even right after adding the new request.
>
> Marc
>
_______________________________________________
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