Home Search

DriveWorks Pro 21
TableSequence

Send Feedback

TableSequence

Generates a table with exactly one column, with an empty header, followed by the specified number of rows, where the first row has the value 1, and each row after is assigned an incrementing value.

Syntax

TableSequence([Row Count])

Where:

Row Count is the number of data rows to be created in the table.

Examples

RuleMeaning
TableSequence(5)Will return an array of a single column with 5 rows, each containing the values 1 through to 5.

Example Outcome

Customers Table

Header Row (blank)
Row 1..1
Row 2..2
Row 3..3
Row 4..4
Row 5..5

DriveWorks will return the table above as an array, which will look like:

Table returned as an Array
{"";1;2;3;4;5}