as P = Create_End(C Filename[,N file_open_mode])
Table file path and name. The .DBF file extension is automatically added to the filename if no other extension is specified.
Optional. Determines the access privileges that apply to the new table file. It uses the following system variables:
Read Only (Exclusive)
Read or Write (Exclusive)
Read Only (Shared)
Read or Write (Shared)
The TABLE.CREATE_END() method completes the definition of a table structure that was initiated by the TABLE.CREATE_BEGIN() method, creates the table file, and returns a pointer. After the table file is created, it is opened and ready for use.
Create a table.
dim tbl as P table.create_begin("firstname","c",30) table.field_add("lastname","c",30) table.field_add("price","n",5,2) table.field_add("quantity","n",2) table.field_add("birthday","d") 'The create_end method creates the table and assign an object pointer to the table tbl = table.create_end("C:\sample.dbf")