dbf.create
Create a dbf file and open it.
method uint dbf.create (
str filename,
str fields,
uint ver
)
str filename,
str fields,
uint ver
)
Parameters
filename | The name of the dbf file being created. | ||||||||||||
fields | The description of database fields. The line containing the description of fields separated by a line break or ';' Field name,Field type,Width,Fractional part length for numbers The name of a field cannot be longer than 10 characters. Possible type fields:
| ||||||||||||
ver | Version. 0 for dBase III or 1 for dBase IV. |
Return value
If the function succeeds, the return value is 1. If the function fails, the return value is 0.
Related links | Source |