DBfirstElementOfObject

Top  Previous  Next

The first element of an object determine.

His Trading is returned. If no element exists or if a mistake has appeared, ZERO is returned. Then the real information <>is got with DBreturn<Typ>Settings from the data bank. One is able to do the type of the element by DBreturnPointerTyp receive.

Parametre

object (POBJECT) [IN]

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

Result

(PELEMENT) [OUT]

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

Declaration

#include "database.h"

 

PELEMENT DLLENTRY DBfirstElementOfObject (

POBJECT object

);

Related functions

DBnextElementOfObject

DBreturnPointerTyp

DBreturn<Typ>Settings