Set Methods
Description
Alpha Anywhere provides the following Set methods. Prefix the following methods with the <Set> pointer. Use the SET.OPEN() or SET.OPEN_SESSION() methods to return the <Set> pointer.
- Name
- Description
- SET FETCH Methods
Methods for fetching records from sets
- SET OPEN Methods
Methods for opening sets
- .TABLE_ALIAS
The .TABLE_ALIAS method returns a pointer to a table in a set.
Methods
- SET.CLOSE Method
Close an open set.
- SET.CURRENT Method
Returns the current set.
- SET.DUPLICATE Method
Create a copy of the set, with all records and layouts.
- SET.ERASE Method
Delete the set if safety is TRUE.
- SET.EVAL_VALID Method
Returns TRUE if expression is valid in the context of the table.
- SET.EXTERNAL_RECORD_CONTENT_GET Method
Extacts data from a set in a cr-lf delimited string
- SET.FILENAME_GET Method
Get the filename of the set.
- SET.GET_PRIMARY Method
Return a pointer to the primary table in a set
- SET.IN_USE Method
The .IN_USE() method returns .T. (TRUE) if any of the tables that comprise a set are in use; otherwise, it returns .F. (FALSE).
- SET.IS_VALID Method
Is the current set valid.
- SET.PRIMARY_GET Method
Retrieve the primary table for a named set.
- SET.RENAME Method
The .RENAME() method changes the name of a set.
- SET.SEND Method
Zip and send a table. Options "d" - include Dictionary, "x" - include Indexes, "p" - display prompt dialog, "c" - compress before sending.
- SET.STRUCTURE_GET Method
Retrieve the structure for a named set (format N=name,A=Alias,D=Dad,P=Parent Eqn,C=Child Eqn,F=Filter,I=Index flags,E=restrict parent Exist/Not_Exist/None flags).
- SET.ZIP Method
Zip a set. Options "d" - include Dictionary, "x" - include Indexes, "p" - display prompt dialog, "c" - pack tables first.