Xbasic
CROSSLEVEL_RECORD_LIST Function
Syntax
Record_Number_List as C = crosslevel_record_list(C filter )
Arguments
- filter
A character filter expression that evaluates to a logical value and selects records from the current table.
Returns
- Record_Number_ListCharacter
The set of records to display in a layout.
Description
Sets the current filter for the current table and retrieves a set of records.
Discussion
The CROSSLEVEL_RECORD_LIST() function uses the .RECNO_LIST_GET() method to set the current filter for the current table and retrieve the specified set of records.
Example
The following script was put under a button on the Customer Information form of AlphaSports. It sets the current filter to all records where the Lastname field has a value greater than "M".
dim frm as P dim lst as C frm = form.view("Customer Information") lst = crosslevel_record_list("Lastname > \"M\"") ? lst = "2 3 4 6 7 9 11 15 16 17 21 23 25 28 31 35 36 37 40 41 44 46 49 50 53 57 60 "
See Also