SELECT() SELECT() returns the current work area number. Syntax SELECT() Returns An integer numeric value. SELECT() returns a numeric value in the range from zero to 254. If there is no database file in USE in the current work area, SELECT() still returns the number of the current work area.