Jump to content

How to add criteria in script editor?


This topic is 2243 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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.

Skærmbillede 2016-05-08 kl. 06.24.26.jpg

Edited by Kurt Hansen
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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:

 

f3.png

Edited by comment
Link to comment
Share on other sites

This topic is 2243 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.