Progress
External Program
Interfaces


prowtbi() - Write INTEGER Field

The prowtbi() function writes an integer value to an INTEGER field in a shared buffer.

On successful completion, prowtbi() returns 0; otherwise, it returns a non-zero value:

SYNTAX

int 
prowtbi ( 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 Progress 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 integer value for the specified INTEGER field.

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.

SEE ALSO

profldix() - Return Field Handle, prordbi() - Read INTEGER Field, prowtbc() - Write CHARACTER Field, prowtbd() - Write DATE Field, prowtbl() - Write LOGICAL Field, prowtbn() - Write DECIMAL Field, prowtbr() - Write RECID Field


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095