The prowtbl( ) function writes a Boolean value to a LOGICAL field in a shared buffer.
On successful completion, prowtbl( ) returns 0; otherwise, it returns a non-zero value:
Syntax
int
prowtbl ( pbufnam, fhandle, index, var, unknown )
char *pbufnam;
int fhandle;
int index;
long var;
int unknown;
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.
var
This input parameter contains the boolean value for the specified LOGICAL field. Set var to 1 if you want to assign the value of the field to TRUE; set it to 0 otherwise.
unknown
If this input parameter contains the value 1, the Unknown value (?) is assigned to the variable. If this input parameter contains the value 0, the input value contained in var is assigned to the variable.