TrkTable.RemoveAll (method)

RemoveAll
Syntax: object.RemoveAll bstrItemID
Parameters:
bstrItemID As String -
The Item ID
Description:
Deletes all records for the specified Item from this table in the database.

Example:

Dim oTADBRoot As Object
Dim oTrkTable As Object
Set oTADBRoot = CreateObject("TADB.TADBRoot")

oTADBRoot.Load PointGet("$PROJECT"), ""

Set oTrkTable = oTADBRoot.FindTable("VEHICLE ORDER", "Parts")
oTrkTable.RemoveAll strItemID