AnsweredAssumed Answered

How to perform a "find" of the current or "active" record in a script?

Question asked by _grantfk on Mar 10, 2017
Latest reply on Mar 11, 2017 by BruceRobertson

Hello! This is my first post on this forum. While I'm not new to FM I have limited experience with writing scripts, and am now beginning the learning curve that will, hopefully, lead to better and more complex scripts to automate our more mundane tasks.

 

I hate to start my association with this forum off with such a seemingly simple question, but here goes...

 

I’m trying to keep from having a script run on a found set of more than one record. I can’t trust that the users will perform a find of a unique field before they enter data into a field that will trigger the script.

 

I'm sure I'm overthinking it, but I can’t figure out how to write a script step that performs a find of the current or "active" record as a first step? I would also like to restore the previous lookup on the last step to finish things up.

 

Any help is greatly appreciated.

Cheers!

Outcomes