Optional. Default = "" (record number order). A character order expression that sorts selected records.
A integer number, representing the number of the table's records to retrieve. Numeric
Optional. Default = ".T." (All records). A character filter expression that evaluates to a logical value and selects records from the table.
A list of the record numbers from the current table.
Gets the record numbers for the first "X" records in a DBF table matching the filter and order expression.
The TOP_RECORDS_LIST() function returns a list of the record numbers from the current table of the first percent records as defined the Order_Expn and Filter_Expn arguments. This function should be run from an open layout.
dim frm as P frm = form.view("Customer Information") ? top_records_list("lastname", 10) = "32 56 55 52 54 18 48 8 51 20"