Home Search

DriveWorks Pro 21
TableSkipRows

Send Feedback

TableSkipRows

Returns a new table where the specified number of rows have been removed from the start of the given table.

Syntax

TableSkipRows([Table], [Rows to Skip])

Where:

Table is the table from which to take the rows.

Rows to Skip is the number of rows from the start of the input table that should be omitted.

Examples

RuleMeaning
TableSkipRows(DWGroupTableCustomers,3)Will return an array of the table Customers with the first 3 rows omitted.

Example Data

Customers Table

CustomerNameCityCountry
Amazon WarriorsParisFrance
Bolton BurnersConcordUnited States
Boston BullsHanoverGermany
Cambridge CatsToulouseFrance
Dynamo DynamicsIndianapolisUnited States
Eagle SizzlersColumbusUnited States
Everso LuckyBurlingtonUnited States
Forty SomethingsChicagoUnited States

Example Outcome

Customers Table

CustomerNameCountry
Cambridge CatsFrance
Dynamo DynamicsUnited States
Eagle SizzlersUnited States
Everso LuckyUnited States
Forty SomethingsUnited States

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

Table returned as an Array
{"CustomerName","City","Country";"Cambridge Cats","Toulouse","France";"Dynamo Dynamics","Indianapolis","United States";"Eagle Sizzlers","Columbus","United States";"Everso Lucky","Burlington","United States";"Forty Somethings","Chicago","United States"}