Using Find as part of a script
I have written a script that produces a report package that saves to a pdf file. It's working as I want it to but, i would like to add a search feature to run as part of the script. Currently I do the search manually to select the record for which I want the report, and then run the report script with a button in the screen layout. Sometime I forget that I have a group of records selected when I run the script and I get output that is not usable. By adding the "find" step I'll get the report for only the record I want.