The ifx_rc_update() function

The ifx_rc_update() function updates the value for an element that is in a row or collection.

Syntax

ifx_rc_update(rchandle, value, action, jump)

Arguments

The function accepts the following arguments.
Argument Type Use Description
rchandle HINFX_RC Input Handle for a row or collection buffer
value Data type of the element Input Value with which to update the element
action SQL_SMALLINT Input Location of the element relative to the seek position. The possible values are:
  • SQL_INFX_RC_ABSOLUTE: Element number jump where the first element in the buffer is element number one
  • SQL_INFX_RC_CURRENT: Current® element
  • SQL_INFX_RC_FIRST: First element
  • SQL_INFX_RC_LAST: Last element
  • SQL_INFX_RC_NEXT: Next element
  • SQL_INFX_RC_PRIOR: Previous element
  • SQL_INFX_RC_RELATIVE: Element that is jump elements past the current element
jump SQL_SMALLINT Input Offset when action is SQL_INFX_RC_ABSOLUTE or SQL_INFX_RC_RELATIVE

Usage

The ifx_rc_update() function updates the value for an element that immediately precedes the location that is specified by action and jump. The function sets the seek position to the position of the value that was updated.