DatabaseHandle :: InitDataArea - Initialize DataArea
The function allows initializing a new data area. Data areas must be created consecutive order. A data area 0 is created automatically, when creating the upper subbase, i.e. the next data area to be created would be data area 1 etc.
Return value: Success ( logical )
Implementation details
logical
DatabaseHandle  :: InitDataArea ( int16 mbnumber, uint16 danumber, NPath &file_path, int64 dasize=0 )
- mbnumber - Mainbase number
- danumber
- Data area number
Data areas for a subbase are numbered continuously. The highest data area number is 65535.
- file_path - - internal feature (not documented)
- dasize
- Size for data area
When no data area size had been defined (0), the data area expands whenever more space is needed.
The maximum size for data areas in a 32-bit versions is 4,026,531,840 (0xF0000000) bytes or nearly 4GB. For 64-bit versions, the maximum size is 281,474,976,710,656 or 256 TB.
Default: 0