|
Adds indexes specified in indexList to the existing table and to the underlying data file.
Header file: DDF.HRequires: W3DBAV75.DLL or higher version
PRESULT PvAddIndex( WORD dictHandle, LPCSTR tableName, INDEXMAP* indexList, WORD indexCount);
|
In
|
dictHandle
|
Handle of an open dictionary returned by PvOpenDictionary().
|
|
In
|
tableName
|
Name of the table where the indexes will be added.
|
|
In
|
indexList
|
Array of index definitions.
|
|
In
|
indexCount
|
Number of indexes in the indexList array.
|
You must first open a dictionary successfully using PvOpenDictionary().
The table specified by tableName must exist in the dictionary specified by dictHandle.
You will need to allocate and release INDEXMAP array used to describe the indexes (see memory management module).
PvStart()
PvOpenDictionary()
PvDropIndex()
PvDropIndexByName()
PvCloseDictionary()
PvStop()
|
Chapter contents
Prev topic: DTI Function Definitions
|