DBASEgetFieldOffsetAndLength |
Top Previous Next |
Offset of a field in the record determine. The contents of a data bank are in records. To determine the position and the length of the single field values, DBASEgetFieldOffsetAndLength is used. With the help of the field name the offset and the length is calculated in the record. Because the field values stand in all records in the same position within the records, it is to be predestined superfluously a record. Parametre buf (DBbuffer *) [IN] Act on the open data bank. fieldname (char *) [IN] Gives the name which determines the position in request in the record. offset (long int *) [IN / OUT] The offset of the field value which is identified about fieldname. If the name does not seem in the data bank, the value is undefined one. length (long int *) [IN / OUT] The length of the field value which about fieldname is identified. If the name does not seem in the data bank, the value is undefined one. Result --- [OUT] Declaration #include "dbase.h"
void DLLENTRY DBASEgetFieldOffsetAndLength ( DBbuffer * buf, char * fieldname, long int * offset, long int * length ); Related functions
|