SETINDEX Statement ---------------------------------------------------------------------------- Action Makes the specified ISAM table index the current index. Syntax SETINDEX # filenumber% , indexname$ Remarks The SETINDEX statement uses the following arguments. ----------------------------------------------------------------------------- Argument Description ---------------------------------------------------------------------------- filenumber% The number used in the OPEN statement to open the table. indexname$ The name used in the CREATEINDEX statement to create the index. If no indexname$ argument or set of double quotation marks ("") is specified, the null index becomes the current index. The NULL index represents the order in which Argument Description ---------------------------------------------------------------------------- represents the order in which records were added to the file. After SETINDEX makes an index current, the current record is the first record according to that index. See Also CREATEINDEX, DELETEINDEX, GETINDEX$ Example See the CREATEINDEX statement programming example, which uses the SETINDEX statement.