Difference between revisions of "HEADER()"

From Recital Documentation Wiki
Jump to: navigation, search
 
(Class)
Line 1: Line 1:
==Class==
 
Disk and File Utilities
 
  
  

Revision as of 15:35, 27 October 2009


Purpose

Function to return the table header size


Syntax

HEADER()


See Also

DISKSPACE(), RECCOUNT(), RECSIZE()


Description

The HEADER() function returns the size of a table header. The table file header contains information about the table, among other things, the field definitions, and the field descriptions. When used with the RECSIZE() function and the RECCOUNT() function, the HEADER() function allows you to calculate the space which your table occupies. The total space needed to backup your table can thus be calculated.


Example

use mytable
size = header() + reccount() * recsize()


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer