Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SET BLOCKSIZE Command
Collapse the table of content
Expand the table of content

SET BLOCKSIZE Command

Specifies how Visual FoxPro allocates disk space for the storage of memo fields.


SET BLOCKSIZE TO nBytes

Parameters

nBytes

Specifies the block size in which disk space for memo fields is allocated. If nBytes is 0, disk space is allocated in single bytes (blocks of 1 byte). If nBytes is an integer between 1 and 32, disk space is allocated in blocks of nBytes bytes multiplied by 512. If nBytes is greater than 32, disk space is allocated in blocks of nBytes bytes.

If you specify a block size value greater than 32, you can save substantial disk space.

The default value for SET BLOCKSIZE is 64. To reset the block size to a different value after the file has been created, set it to a new value and then use COPY to create a new table. The new table has the specified block size.

SET BLOCKSIZE is scoped to the current data session.

Community Additions

ADD
Show:
© 2015 Microsoft