Synopsis

PDX_MSGT ddf_GetFieldFromName(char *name, DDF_TF tf, DDF_FLD **fld)

Purpose

Get a DDF_FLD entry for a field name.

Description

The fld pointer will be returned for the specified field name and tf. The current DDF will be used for this function and the actual DDF_FLD pointer in the DDF will be returned. Extreme caution must be used when accessing information within the fld value. Any changes made to the fld value may comprimise the integrity of the DDF.

Input

name

Field name

tf

Type and form

Output

fld

DDF_FLD pointer in current DDF

Return

DDF_NOERR or error if name not found