DBASEputField

Top  Previous  Next

Value write back in record.

To carry out changes in a record one needs this and the other... functions DBASEput. If the record has been changed accordingly, he is written back with DBASEputDataset in the data bank.

With this function the field value is stored here feldname.

Parametre

buf (DBbuffer *) [IN]

Act on the open data bank.

elem (void *) [IN]

Act on the before selected record in which now changes are made

feldname (const char *) [IN]

The value of this name is booked with the new value.

field-worth (const char *) [IN]

In field-worth stands the new value which is filed under feldname.

Result

--- [OUT]

Declaration

#include "dbase.h"

 

void DLLENTRY DBASEputField (

DBbuffer * buf,

void * elem,

const char * feldname,

const char * field-worth

);

Related functions

DBASEgetDataset

DBASEgetFieldByName

DBASEgetFieldByOffset

DBASEputDataset

DBASEputDouble

DBASEputLong