DBASEgetFieldByName

Top  Previous  Next

Field value about field name determine.

In the record the field value about the field name is searched and if found zurückgeliefert. If the field name does not come before in the record, becomes ZERO zurückgeliefert.

Parametre

buf (DBbuffer *) [IN]

Act on the open data bank.

elem (void *) [IN]

Act on the before selected record

feldname (char *) [IN / OUT]

About feldname it is searched field-worth in the record.

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

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

Result

--- [OUT]

Declaration

#include "dbase.h"

 

void DLLENTRY DBASEgetFieldByName (

DBbuffer * buf,

void * elem,

char * feldname,

char * field-worth

);

Related functions

DBASEfindDataset

DBASEgetDataset

DBASEgetFieldByOffset