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:
| Parameter | Description | ||||||
|---|---|---|---|---|---|---|---|
| function | A valid RTI_List function: READ, DELETE. | ||||||
| listID | Name of the saved list (or Key ID) in the SYSLISTS table. | ||||||
| param1... | Each method has different parameter requirements. | ||||||
| param4 | |||||||
| functions |
| ||||||
| Parameters |
|
Returns
| Method | Return Value |
|---|---|
| READ | An @fm-delimited array of Key IDs. |
| DELETE | Null |
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)
1 Comment
Don Bakke
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