Kurt Hansen Posted May 8, 2016 Posted May 8, 2016 (edited) In FM Pro 11 I have a script with two criteria: I want to change Upload:Genre to =Klassisk OR Jazz How do I do that? I havn't found the answer with Google and I can't find "the manual" for the script editor anywhere. Edited May 8, 2016 by Kurt Hansen
comment Posted May 8, 2016 Posted May 8, 2016 (edited) You cannot perform an OR find within the same request - you must create a new request.http://www.filemaker.com/help/14/fmp/en/html/find_sort.5.13.html#1050516 Edited May 8, 2016 by comment
Kurt Hansen Posted May 8, 2016 Author Posted May 8, 2016 Thank you for your willingness to help, Consultant. Maybe I misunderstand something, but as far as I can see your link learns me how to perform a search in table mode? I'm quite familiar with that; my problem is: how do I implement such a find in a script?
comment Posted May 8, 2016 Posted May 8, 2016 (edited) In order to perform an OR find, you must create two (or more) separate find requests. It doesn't matter if you're doing this manually or have a script do it for you. 32 minutes ago, Kurt Hansen said: how do I implement such a find in a script? For example: Enter Find Mode [] Set Field [ Upload::SYNC ; ">37725 ] Set Field [ Upload::Genre ; "=Klassisk' ] Duplicate Record/Request Set Field [ Upload::Genre ; "=Jazz' ] Perform Find [] If you prefer to store the find requests in the Perform FInd[] or in the Enter Find Mode[] step, then it would look like this: Edited May 8, 2016 by comment
Recommended Posts
This topic is 3393 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now