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_xpagesize()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_XPAGESIZE()
Set page size for tables created with N_XAMAKETBL() or N_XMAKETBL()

Syntax
N_XPAGESIZE([<nSize>])

Argument
<nSize> is the desired page size. Page size may be any number from 512-4096 
bytes in increments of 512 bytes.

Returns
With no arguments, returns current setting.

Remarks
If  you omit <nSize> or specify N_XPAGESIZE(0)  then  N_XAMAKETBL or 
N_XMAKETBL() will calculate the optimal page size based on record size and 
system configuration.

Note
This setting does not override the /P:page size parameter, if any, specified 
when Btrieve was loaded.

Example
* Create table with page size of 2048
N_XPAGESIZE(2048)
N_XMAKETBL(' ','newtable.dta', ;
             'rasql.dbf')


See Also: N_XAMAKETBL() N_XMAKETBL() N_XPAGEMAX() N_XSETALLOC()

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