ExecutionOutputRecordStream.WriteRecord

Syntax

ExecutionOutputRecordStream.WriteRecord( record, mapping = "")

Purpose

Write a record to the ExecutionOutputRecordStream .

Remarks

ExecutionOutputRecordStream.WriteRecord invokes OutputRecordStream.WriteRecord on each OutputRecordStream it contains, using the specified parameters. In addition, it updates the Report View with data from the new record.

Parameters

record As PropertyObject

[In] The record to write. The record parameter may be either a container or an array. If the record parameter is a container, the container represents the record, and each subproperty is a field. If the record parameter is an array, the entire array represents the record, and each array element is a field.

mapping As String

[In] Specifies the mapping from elements (either subproperties or array elements) in the record parameter to fields in the stream. The mapping is a comma-separated list of index ranges. For example, "0, 3-5, 8-7" specifies that elements 0, 3, 4, 5, 8, and 7 be written as the fields to the stream. The final range in the list may be open-ended. For example, "2, 3-" indicates that elements 2, 3, and all elements beyond 3 be written to the stream. If the record parameter is a container, the range list may include individual subproperty names. For example, "Temperature, Pressure, 0-1" specifies that the subproperties "Temperature" and "Pressure" as well as elements 0 and 1 be written as fields to the stream. For convenience, you may specify an empty string to specify all elements be written in order. That is, an empty string is equivalent to "0-". The default value is an empty string.

This parameter has a default value of "" .

See Also

ExecutionOutputRecordStream.WriteRecordFrom

OutputRecordStream.WriteRecord

ExecutionOutputRecordStream.NumRecordsToDisplayInReportView