Set Field Specification for the member. Relevant only to webapp forms. Not relevant to HDB operation.
| Return Type | Function name | Arguments |
|---|---|---|
| hzEcode | hdbMember::SetSpec | (hdsFldspec*,) |
Declared in file: hzDatabase.h
Defined in file : hdbClass.cpp
Function Logic:
Function body:
hzEcode hdbMember::SetSpec (hdsFldspec* pSpec)
{
// Set Field Specification for the member. Relevant only to webapp forms. Not relevant to HDB operation.
//
// Argument: pSpec The supplied Dissemino field spec
//
// Returns: E_ARGUMENT If no field spec is supplied
// E_DUPLICATE If the field spec has already been set
// E_OK Operation successful
if (!pSpec) return E_ARGUMENT ;
if (m_pSpec) return E_DUPLICATE ;
m_pSpec = pSpec ;
return E_OK ;
}