DBfirstInfoElementOfObject

Top  Previous  Next

The first attribute of the object

To the trading of an object the first available attribute is determined. His Trading is returned. If none such exists or if a mistake has appeared, ZERO is returned. Then the real information becomes with DBreturnInfoSettings got from the data bank.

Parametre

object (POBJECT) [IN]

The first attribute is delivered by this object. If the object has no attribute, ZERO is delivered.

Result

(PINFO_ELEMENT) [OUT]

As a result this procedure delivers the trading of the first attribute which exists in this object. If no attribute exists in the object, ZERO is delivered.

Declaration

#include "database.h"

 

PINFO_ELEMENT DLLENTRY DBfirstInfoElementOfObject (

POBJECT object

);

Related functions

DbnextInfoElementOfObject

DBinfoElementOfObjectByName

DBreturnInfoSettings