Name Property

Description

The name of the parameter (column) in the run-time data table.

Syntax

DTParameter.Name

Example

The following example uses the Name method to return the name of the newly created parameter in the design-time or run-time data table and writes it in the report.

Dim paramname

paramname = DataTable.LocalSheet.AddParameter("Food", "pizza").Name

Reporter.ReportEvent 1, "The New Parameter name is", paramname