Adxuprec

This function returns the number of records processed by the last Update instruction, and it must be called after the instruction.

Syntax

adxuprec

Example

# This function sets all the shipped lines of a sales order to closed, and returns the number of lines updatedFunprog ORDER_CLOSE_LINES(ORDER_NUM)Value Char ORDER_NUM()# Declare the ORDERLINE tableIf clalev([ORDL]) : LogicClose ORDERLINE : Endif : Local File ORDERLINE [ORDL]# Let's update the linesUpdate [ORDL] Where ORDERNUM=ORDER_NUM and CLOSED=1 and QTYSHIPPED=QTYORDERED with CLOSED=2End adxuprec

See also

Update, adxdlrec, adxsqlrec.