Try OpenEdge Now
skip to main content
Programming Interfaces
HLC Library Function Reference : Function reference : prordbi( ) - Read INTEGER Field
 

prordbi( ) - Read INTEGER Field

The prordbi( ) function reads the value of an INTEGER field in a shared buffer.
On successful completion, prordbi( ) returns 0; otherwise, it returns a non-zero value:

Syntax

int
prordbi ( pbufnam, fhandle, index, pvar, punknown )
char *pbufnam;
int fhandle;
int index;
long *pvar;
int *punknown;
pbufnam
This input parameter points to the name of the specified shared buffer. You supply the name from your OpenEdge application.
fhandle
This input parameter is the field handle that profldix( ) returns for the specified field.
index
This input parameter specifies an index value for an array field. If the field is not an array, you must set the value of index to 0.
pvar
This output parameter points to a long where prordbi( ) returns the value of the specified INTEGER field.
punknown
This output parameter points to an integer where prordbi( ) returns 1 if the field has the Unknown value (?), and returns 0 otherwise.
See Also:
profldix( ) - Return Field Handle, prordbc( ) - Read CHARACTER Field, prordbd( ) - Read DATE Field, prordbl( ) - Read LOGICAL Field, prordbn( ) - Read DECIMAL Field, prordbr( ) - Read RECID Field, prowtbi( ) - Write INTEGER Field