Description

The RTI_LIst function is a utility that helps in the use and management of saved lists in the SYSLISTS table.

Syntax

returnvalue = RTI_List(<function>, <listID> [,<param1>] [,<param2>] [,<param3>] [,<param4>])

Parameters

The function has the following parameters:

ParameterDescription
functionA valid RTI_List function: READ, DELETE.
listIDName of the saved list (or Key ID) in the SYSLISTS table.
param1...Each method has different parameter requirements.
param4 
functions
ValueDescription
READReads all the Key IDs from the indicated saved list and returns them as an @FM delimited array.
DELETEDeletes the indicated saved list.
Parameters
FunctionParameters
READbAutoDelete - Flag that determines if the saved list should be deleted automatically after the READ function is invoked.
DELETENull

Returns

MethodReturn Value
READAn @fm-delimited array of Key IDs.
DELETENull

Examples

* READ Example
DECLARE FUNCTION RTI_LIST, RTI_CREATEGUID
myID = RTI_CREATEGUID("b") ;* MAKE A GUID IN BASE64 FORMAT
CALL RLIST(selStmt, 4, myID, "", "")
fullList = RTI_LIST("READ", myID) 
 
* DELETE Example
CALL RTI_LIST("DELETE", myID)
  • No labels

1 Comment

  1. This function is not officially documented but it was promoted by Bryan Shumsky for production use. The above syntax and example code was crafted based on the information provided in this thread:

    Reverse Make.List