Visual Basic Script

Use the Visual Basic Script data source when you want to use Visual Basic Script (VBScript) to produce the final value for the object by processing data from one data source or a combination of the other data sources in a way that is not otherwise possible.

VBScript can be complex for those who are unfamiliar with it. It is often easier to select one of the other data source types and then use the VBScript transform instead. For more information, refer to Using the VBScript Transform.

ClosedTo create a text object that has a Visual Basic Script data source

  1. In the Toolbox, click the Data Sources tab to show the Data Sources pane.

  2. Drag the Visual Basic Script data source from the Data Sources pane to the location on the template where you want the object. The Visual Basic Script Editor opens.

  3. Create your custom scripts, and then close the Visual Basic Script Editor.

You can configure the properties of this data source by using the Data Sources property page of the Object Properties dialog. You can identify a Visual Basic Script data source in the navigation pane of the Object Properties dialog by the icon. For more information about the properties that you can specify for the data source, refer to Data Sources Property Page.

You can also replace an existing data source with a Visual Basic Script data source or add a Visual Basic Script data source to an object's already existing data sources. For more information about how to do this, refer to Configuring Data Sources.

Related Topics