DBASEgetFieldByOffset

Top  Previous  Next

Field value about offset and length determine.

In the record the field value about the offset and the length is searched and if found zurückgeliefert. If no value can be determined from the position offset, becomes ZERO zurückgeliefert.

Parametre

buf (DBbuffer *) [IN]

Act on the open data bank.

elem (void *) [IN]

Act on a before selected record.

offset (long int) [IN]

offset is the position in the record in which the next field value stands.

length (long int) [IN]

length describes the length of the field value from the position offset.

field-worth (char *) [IN / OUT]

In the value stands field-worth with successful search. It must be provided before for enough storage space.

Result

--- [OUT]

Declaration

#include "dbase.h"

 

void DLLENTRY DBASEgetFieldByOffset (

DBbuffer * buf,

void * elem,

long int offset,

long int length,

char * field-worth

);

Related functions

DBASEgetFieldByName

DBASEgetFieldOffsetAndLength