Adxdlrec
This function returns the number of records processed by the last Delete instruction. It must be called after the Delete instruction.
adxdlrec
# This function deletes all the lines for a sales order, and returns the number of lines deletedFunprog ORDER_DROP_LINES(ORDER_NUM)Value Char ORDER_NUM()# Declare the ORDERLINE tableIf clalev([ORDL]) : LogicClose ORDERLINE : Endif : Local File ORDERLINE [ORDL]# Let's delete the linesDelete [ORDL] Where ORDERNUM=ORDER_NUMEnd adxdlrec