Finding form/global object references and inserting them into scripts

The Windows client script editor provides options and tools to find references to form or global objects and insert them directly into the script  

To insert a reference to a form or global object into the script:

  1. Place the cursor in your script at the point where you want the reference to be inserted.
  2. In the Object Viewer pane, locate and select the object you want to insert the reference to.

    Optionally, you can use the Find options and/or the Filter(s) for Global Objects options to more easily locate the object you want.

  3. Right-click the object name and then click Insert into Script.
    Note:  If no option to Insert into Script displays when you right-click, it means you are not focused on an object.

In many cases, after you insert the object reference, you must still complete the code statement.