void=dbIndexFieldNames(index: Lists)
The function sets indexes for the table. The table must be opened using the function dbOpenTable. Depending on the setted indexes the table will be put into order as well.

Parameters
The index parameter is in the Abstract Data Types format and it consists of names of the items, that we want to sort the database and index with ["fieldByName1", "fieldByName2", "fieldByName3"...]. For example ["id", "name"].

Example - Director
global mdb
mdb.dbIndexFieldNames( ["id", "name"])
 
end if

Example - Authorware
CallObject(mdb,"dbIndexFieldNames", ["id"; "name"])