Topic complex |
Table functions |
Function |
inddef() |
Short |
Get the index description |
Syntax |
INDDEF(db : INTEGER; index : INTEGER|STRING [; mode : INTEGER]) : STRING |
Parameter |
db : table handle from OpenDB
index : index number or index name (as STRING)
mode : 0|1 |
Return |
Index description of the defined index
mode 0 (default) : with length definition
mode 1 : without length defintion |
See also: |
|
Description |
Example:
i:=GenIndex(db,'Name,Firstname:20','address.ind')
IndDef(db,i)
-> "Name:40,Firstname:20"
IndDef(db,i,1)
-> "Name, Firstname"
|
Write a comment:
|