prordbn( ) - Read DECIMAL Field
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
The prordbn( ) function reads the value of a DECIMAL
numeric field in a shared buffer.
On successful completion, prordbn( ) returns 0; otherwise, it returns a
non-zero value:
Syntax
|
- 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 buffer where
prordbn( )returns the value of the specifiedDECIMALnumeric field, formatted as a character string. - punknown
- This output parameter points to an integer where
prordbn( )returns 1 if the field has the Unknown value (?), and returns 0 otherwise. - varlen
- This input parameter contains the length of the buffer that pvar specifies.
- pactlen
- This output parameter points to an integer where
prordbn( )returns the actual length (in bytes) of the data in the specifiedDECIMALnumeric field.
See Also:
profldix( ) - Return Field Handle, prordbc( ) - Read CHARACTER Field, prordbd( ) - Read DATE Field, prordbi( ) - Read INTEGER Field, prordbl( ) - Read LOGICAL Field, prordbr( ) - Read RECID Field, prowtbn( ) - Write DECIMAL Field