Home Search

DriveWorks Pro 21
SppGetGroupTableCache

Send Feedback

SppGetGroupTableCache

Returns cached data of an existing Group Table as a table array.

Syntax

SppGetGroupTableCache([Table Name], [Recalculation Trigger])

Where:

Table Name is the name of the table to return the cached data from.

Table Name must be a string (enclosed in quotes " ").

Using the prefix DWGroupTable, for the Group Table Name, is optional.

Recalculation Trigger (optional) is the trigger to force a recalculation during the running of a Specification.

Example

RuleResultMeaning
SppGetGroupTableCache("StandardColors", DWConstantRecalculate){" Colors" ," Red" ," Green" ," Blue" ; " Black" ," 0" ," 0" ," 0" ; " Blue" ," 0" ," 0" ," 255" ; " Gray" ," 128" ," 128" ," 128" ; " Green" ," 0" ," 128" ," 0" ; " Red" ," 255" ," 0" ," 0" ; " Silver" ," 192" ," 192" ," 192" ; " White" ," 255" ," 255" ," 255" ; " Yellow" ," 255" ," 255" ," 0" }This is the Array that will be created with the data from the Group Table.
SppGetGroupTableCache("DWGroupTableStandardColors", DWConstantRecalculate){" Colors" ," Red" ," Green" ," Blue" ; " Black" ," 0" ," 0" ," 0" ; " Blue" ," 0" ," 0" ," 255" ; " Gray" ," 128" ," 128" ," 128" ; " Green" ," 0" ," 128" ," 0" ; " Red" ," 255" ," 0" ," 0" ; " Silver" ," 192" ," 192" ," 192" ; " White" ," 255" ," 255" ," 255" ; " Yellow" ," 255" ," 255" ," 0" }This is the Array that will be created with the data from the Group Table.

Example Result as a Table

ColorsRedGreenBlue
Black000
Blue00255
Gray128128128
Green01280
Red25500
Silver192192192
White255255255
Yellow2552550