prordbd( ) - Read DATE Field
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
The prordbd( ) function reads the value of a DATE field in
a shared buffer.
On successful completion, prordbd( ) returns 0; otherwise, it returns a
non-zero value:
Syntax
|
- pbufnam
- This input parameter points to the name of the specified shared buffer.
- 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.
- pyear
- This output parameter points to an integer where
prordbd( )returns the value of year. - pmonth
- This output parameter points to an integer where
prordbd( )returns the value of month. - pday
- This output parameter points to an integer where
prordbd( )returns the value of day. - punknown
- This output parameter points to an integer where
prordbd( )returns 1 if the field has Unknown value (?), and returns 0 otherwise.
See Also:
profldix( ) - Return Field Handle, prordbc( ) - Read CHARACTER Field, prordbi( ) - Read INTEGER Field, prordbl( ) - Read LOGICAL Field, prordbn( ) - Read DECIMAL Field, prordbr( ) - Read RECID Field, prowtbd( ) - Write DATE Field