Set Functions and Methods
Alpha Five provides the following methods based on the default SET object. Prefix the following methods with the SET keyword.
Method |
| Description |
| V5 | Deletes the set if safety is TRUE. | |
| V5 | Extracts data from a set into a CR-LF delimited list. | |
| V5 | Opens a set and returns a pointer to the set. | |
| V5 | Opens an existing set, repairing problems interactively if encountered. | |
| V5 | Opens a set in a new session and returns a pointer to the set. | |
| V5 | Emails a set using either the Alpha Five internal email client or a third party email client. | |
| V5 | Returns a string with information about the format of a set. | |
| V5 | Zips the named set. |
Alpha Five 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.
Function |
| Description |
| V5 | Returns the class name. | |
| V5 | Closes all of the tables in the set. | |
| V5 | Returns a pointer to the current set. | |
| V5 | Creates a copy of the set, with all records and layouts. | |
| V5 | Evaluates an expression in the context of the set. | |
| V5 | Returns TRUE if expression is valid in the context of the set. | |
| V5 | Returns .T. (TRUE) if the most recent fetch in <SET> has tried to read past the end of the file, creating an end of file condition. | |
| V5 | Retrieves the first record in <SET> with a primary index key equal to the Matching_Expression parameter. | |
| V5 | Retrieves the first record in <SET>. | |
| V5 | Retrieves the specified Record_Number. | |
| V5 | Retrieves the last record in <SET>. | |
| V5 | Retrieves the next record in <SET> with a field value that equals Matching_Expression. | |
| V5 | Retrieves the previous record in <SET> with a field value that equals Matching_Expression. | |
| V5 | Retrieves the next record in <SET>. | |
| V5 | Retrieves the previous record in <SET>. | |
| V5 | Gets the filename of the set. | |
| V5 | Returns a pointer to the primary table in a set | |
| V5 | Returns true. if any of the tables in a set are in use. | |
| V5 | Returns true if the current set if valid. | |
| V5 | Retrieve the primary table for a named set. | |
| V5 | Renames the set. | |
| V5 | Returns the session that the set is opened under. | |
| V5 | Return a pointer to a table of an open set (primary if unnamed, else named table). |
Alpha Five provides the following Set related functions and methods.
Function |
| Description |
V5 | Packs selected tables in a set. | |
V5 | Returns a list of sets in the current database. | |
| V5 | Returns a list of sets. | |
V5 | Removes records from the tables of the set but preserves the set and table structures. | |
| V5 | Returns the type of set link that the field represents. | |
V5 | Returns a CR-LF delimited character string list containing the fully qualified names of the components of the set. | |
V5 | If the current table is the primary table in a set, LINK returns the linking key value that relates it to the specified Child_Table_Name table. | |
V5 | Creates a CR-LF delimited character list containing the fully qualified names of the components of the set. | |
V5 | Returns the record number for a composite record in a set. | |
V5 | Returns .T. (TRUE) if the current composite record buffer includes data from Table_Name ; otherwise, it returns .F. (FALSE). | |
V5 | Creates a character string that contains a CR-LF delimited list of files composing the set defined by Set_Name. | |
V5 | Displays the Specify Set Name dialog box, then returns the fully qualified name of the new set. |
See Also