DBreturnAttributeValue

Top  Previous  Next

If delivers attribute value of any type.

Every element in the data bank can contain arbitrarily many attributes. Every attribute of an element is identifiable about an unequivocal name. Every value is stored away in the data bank as a text. To be able to deliver the text, the structure MEMMERKER is used. With MEMMERKER long texts can be administered arbitrarily.

Parametre

ptr (PANY) [IN]

Act on any type of the data bank by which the attribute value should be determined.

text (char *) [IN]

Name of the attribute whose value should be determined.

mem (MEMMERKER *) [IN / OUT]

mem has to come too before are generated SYSmemMerkerMake. After the value of the attribute is in it here.

Result

(long int) [OUT]

If the value could be determined, delivers the function 0, but 1.

Declaration

#include "database.h"

 

long int DLLENTRY DBreturnAttributeValue (

PANY ptr,

char * text,

MEMMERKER* mem

);

Related functions

Related function

DBgetConstructionBuffer

DBmodifyAttributeValue