DBASEsetPlanIndex

Top  Previous  Next

Field names assign.

With this routine the field names of the DBASE data bank are searched and assigned to the suitable records.

Parametre

db (DBbuffer *) [IN / OUT]

Act on DBASE data bank. In the structure DBbuffer records are for the left lower x and Y co-ordinate and for the upper right x and Y co-ordinate.

XUL (char *) [IN]

The contents of this sign chain are searched in the field name of the DBASE data bank. If a field name could be found, the suitable record is assigned in db to this field name. The capitalisation and use of small letters is considered.

YUL (char *) [IN]

The contents of this sign chain are searched in the field name of the DBASE data bank. If a field name could be found, the suitable record is assigned in db to this field name. The capitalisation and use of small letters is considered.

XOR (char *) [IN]

The contents of this sign chain are searched in the field name of the DBASE data bank. If a field name could be found, the suitable record is assigned in db to this field name. The capitalisation and use of small letters is considered.

YOR (char *) [IN]

The contents of this sign chain are searched in the field name of the DBASE data bank. If a field name could be found, the suitable record is assigned in db to this field name. The capitalisation and use of small letters is considered.

layer (char *) [IN]

The contents of this sign chain are searched in the field name of the DBASE data bank. If a field name could be found, the suitable record is assigned in db to this field name. The capitalisation and use of small letters is considered.

indexFile (char *) [IN]

indexFile is not supported at the moment and can have, therefore, the value ZERO.

Result

(int) [OUT]

The routine delivers in the perfect case the value (FALSE) 0 and with a mistake the value (TRUE) <>0.

Declaration

#include "dbase.h"

 

int DLLENTRY DBASEsetPlanIndex (

DBbuffer * db,

char * XUL,

char * YUL,

char * XOR,

char * YOR,

char * layer,

char * indexFile

);