U.M. (Windows)

Table Of Contents
Using ScriptMaker and buttons 5-11
1 Which fields and layouts will the script need? Some steps require a
field to be on the current layout (like Go to Field, Paste Literal, Paste
Result, and Replace), while others don’t (Set Field). Use Go to
Layout to switch to a layout that has the fields your script requires.
1 Should the script switch among modes? For example, use Enter
Browse Mode before modifying data in fields and records, and use
Enter Find Mode before setting up a find request or finding data.
1 Should the script work on all records in the database, the current
found set, or a specific set of records? What if no records are found?
Use one of the find or omit steps to set up the correct records.
1 Which record should the script start with? For example, when using
the Loop step, decide whether the loop starts at the first or last record,
a specific record, or the current record in a found set. Use
Go to Record/Request/Page to select a starting record.
1 How should the script advance through multiple fields and records?
Use navigation steps to move through a found set.
1 Should the records be sorted before the script processes them? If you
use the Loop step, use Sort or Unsort before the loop to order your
records properly.
1 When should the script finish? After all records have been processed?
After a specified condition has been met? Use the If step to perform
a task when the script reaches a specified condition.
1 How will you document your script design? Use the Comment step to
make your scripts readable and understandable.
1 How will you test your script? Use the Pause/Resume Script step to
pause at specific points in your script.
Tip Save a clone (or copy) of your database, and then define and test
your script in it to preserve the original data. After testing the script,
import data from the original file into the clone.