Try OpenEdge Now
skip to main content
Programming Interfaces
HLC Library Function Reference : Function reference : profldix( ) - Return Field Handle
 

profldix( ) - Return Field Handle

Returns a field handle for a specified field within a shared buffer. The handle is returned as an integer value. The shared buffer can also refer to a TEMP-TABLE.
On successful completion, profldix( ) returns the field handle for the field; otherwise, it returns a negative value:

Syntax

int
profldix ( pbufnam, pfldnam )
char *pbufnam;
char *pfldnam;
pbufnam
Points to the name of the shared buffer containing the specified field. You supply the name from your OpenEdge application.
pfldnam
Points to the name of the specified field within the buffer. You supply the name from your OpenEdge application.
Note: All other shared buffer access functions require the field handle that profldix( ) returns.
See Also:
prordbc( ) - Read CHARACTER Field, prordbd( ) - Read DATE Field, prordbi( ) - Read INTEGER Field, prordbl( ) - Read LOGICAL Field, prordbn( ) - Read DECIMAL Field, prordbr( ) - Read RECID Field, prowtbc( ) - Write CHARACTER Field, prowtbd( ) - Write DATE Field, prowtbi( ) - Write INTEGER Field, prowtbl( ) - Write LOGICAL Field, prowtbn( ) - Write DECIMAL Field, prowtbr( ) - Write RECID Field