|
|
|
|
|
- Creating an xBase file via the Native xBase Connector
- Creating an xBase file
- Creating an xBase file in the data model editor
- Limitations
HDBCreation (Function) In french: HDBCreation
Available only with these kinds of connection
Ends the description of the structure of an xBase data file programmatically. The data file that was just described is created on disk in the path specified in HDBDescribeFile. The data, memo and index files are created on disk. HDBDescribeFile("DBCUSTOMER", "CD", "C:\FILE\CUSTOMER.DBF")
HDBDescribeField("LASTNAME,C,20")
HDBDescribeField("FIRSTNAME,C,20")
HDBDescribeField("AGE,N,3,0")
HDBDescribeField("BALANCE,N,10,2")
HDBDescribeField("MARRIED,L")
HDBDescribeField("DOB,D")
HDBDescribeField("INFO,M")
HDBCreation()
Syntax <Result>: Boolean - True if the operation was performed,
- False if a problem occurs. HError is used to identify the error.
Remarks Creating an xBase file via the Native xBase Connector - The data and index files are created in dBase 3 format (NDX file).
- After HDBCreation, the file can be used without having to call HDBOpen and HDBIndex.
Creating an xBase file - If the file already exists, it is overwritten by the new file.
- The error 1009 will occur if the file is opened with HDBCreation.
Creating an xBase file in the data model editor An xBase file can also be described and created in the editor. You also have the ability to import an existing xBase file into the data model editor. Limitations This function is not available when using a stand-alone executable.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|