DBASEstringIdxCreate

Top  Previous  Next

Index file DBASE generate.

With this routine an index file which is required for the indexing by DBASE tables is put on. Then about the index to a table can be accessed faster the real records in the table.

Parametre

name (char *) [IN]

The sign chain name gives the file name for the index.

db (struct dbIdx *) [IN / OUT]

The structure dbIdx contains beside the index name also a Flag, this gives whether the index is changed, or does not require and therefore an Abspeicherung or not.

Result

(int) [OUT]

If generating the file missed, becomes–1 zurückgeliefert, but 0.

Declaration

#include "dbase.h"

 

int DLLENTRY DBASEstringIdxCreate (

char * name,

struct dbIdx * db

);

Related functions

DBASEstringIdxClose