Gentee Programming Language > Documentation > Libraries Download documentation

dbf.create

Create a dbf file and open it.
 
uint dbf.create(
      str   filename,
      str   fields,
      uint   ver
)

Parameters

filenameThe name of the dbf file being created.
fieldsThe 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:
Ñ - string,N - integer,F - fraction,L - logical,D - date, M - memo field
verVersion. 0 for dBase III or 1 for dBase IV.

Return value

If error occurs, function returns 0.

See also

    Working with DBF files


 Copyright © 2004-2006 Gentee Inc. All rights reserved.