Function Select() Foundation
Returns the number of a work area based on the alias name.
Select( [<cAlias>] ) --> nWork area
The return value of Select() is a positive integer indicating the work area with the alias name <cAlias>. If no argument is passed, Select() returns the number of the current work area. When the alias name does not exist, zero is returned.
The database function Select() determines the number of a work area based on the alias name. It is often used with data driven applications where the work area in which a database file is open is unknown.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.