Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- RaSQL/B 6.1a for Clipper - <b>n_xselect()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_XSELECT()
Select Btrieve table

Syntax
N_XSELECT([<nArea> | <cArea> | 0])

Use SELECT or DBSELECTAREA() or SELECT()

Argument
<Area> is a work area specified by alias or number. 

Returns
Number of current select area. If you specify zero, function returns the 
first area without a DBF or a Btrieve file open in it.

Remarks
Works similarly to the Clipper SELECT command. Used to select any of the 250 
file work areas. You may open a Btrieve file in the same area as a DBF, but 
we do not recommend it.

If you specify a nonzero number then the specific work area is selected.
If you specify a character string then the area with the specified alias is 
selected. If the alias is not found, then the current area remains selected.

Examples
* Select free Btrieve work area
N_XSELECT(0)
N_XUSE('patients.dta', ...

* Select Patients work area
N_XSELECT('patients')

* Current work area
? N_XSELECT()


See Also: N_XUSE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson