Jump to content

Using ScriptParameter to specify Find criteria


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

Recommended Posts

Hi all,

Thanks for your help so far, I'm learning lots from the forums here. I'm not a total dunce but I'm finding I really have to dig to find FM's power.

Here is another item I'm trying to wrap my head around. Is it possible to pass the criteria for a find script via the ScriptParameter? Dynamically?

As an example from an earlier question ... if I want to find all the companies that start with "A" I do a find with ==A* then create and store a find/restore script. Seems silly to do this for every letter of the alphabet so I was trying to pass the letter via the ScriptParameter. But when I do this it tries to find the text "ScriptParameter". Not what I need.

TIA,

Link to comment
Share on other sites

Find criteria in the Enter Find Mode and Perform Find steps must be static. Use Set Field for dynamic criteria.

Enter Find Mode [ ]

Set Field [textfield; "==" & Get(ScriptParameter) & "*"]

Perform Find [ ]

Link to comment
Share on other sites

This topic is 7110 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
×
×
  • Create New...

Important Information

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