Re: Doing a FileMaker search from AppleScript
Re: Doing a FileMaker search from AppleScript
- Subject: Re: Doing a FileMaker search from AppleScript
- From: Jenni via AppleScript-Users <email@hidden>
- Date: Tue, 19 Apr 2022 13:22:39 -0700
> On Apr 19, 2022, at 12:42 PM, Ralph Richardson <email@hidden>
> wrote:
>
> tell application "FileMaker Pro"
> activate
> tell database "databasename"
> set request1 to create new request
> tell request1
> set field "FileName" of request1 to "searchstring"
> end tell
> find
> --then loop through found records
> end tell
> end tell
Thanks, Ralph. This works the first time through, but when I run a
subsequent search, it combines the current search with the previous one and
finds too many records. Every time I do a new search, it adds it to all
previous search requests. Even if I add:
delete every request
before creating a new one, it does that. Weird, huh?
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