|
<< Click to Display Table of Contents >> DbiOpenFieldTypesList |
![]() ![]()
|
C syntax
DBIResult DBIFN DbiOpenFieldTypesList (pszDriverType, [pszTblType], phCur);
Delphi syntax
function DbiOpenFieldTypesList (pszDriverType: PChar; pszTblType: PChar; hCur: hDBICur): DBIResult stdcall;
Description
DbiOpenFieldTypesList creates a table containing a list of field types supported by the table type for the driver type.
Parameters
pszDriverType Type: pCHAR (Input)
Pointer to the driver type. Driver type must be found in the Registry.
pszTblType Type: pCHAR (Input)
Pointer to the table type. Use DbiOpenTableTypesList to retrieve table type information. If pszTblType is not specified, the default table type is used. Optional.
phCur Type: phDbiCur (Output)
Pointer to the cursor handle.
Usage
This function can be used to determine the legal field types, sizes, and other field-level attributes for a particular driver and table type. This allows configurable table creation UIs and allows for validation of field types (FLDType) without creating a table.
DbiResult |
Meaning |
DBIERR_NONE |
The table with the list of field types was created successfully. |
DBIERR_UNKNOWNDRIVER |
Invalid pszDriverType passed as input. |
See also