ADXDLREC |
adxdlrec determines the number of records deleted by a Delete instruction.
[S]adxdlrec Integer
# Extracted from a process that deletes selected records # depending on the first part of a multiple keyDelete [FAK]NUMFAC(1) = CODE_FACTURE
If fstat = 0Errbox "A user deleted "-num$(adxdlrec)-" records"
Endif # Other process BOUM File
Delete [BOUM] Where CODCLE > ""Infbox "There were "-num$(adxdlrec)-"records in your file",
& "considering the count method...", & "there aren't any more, now!"
The adxdlrec variable contains the number of records deleted in a table by the Delete instruction.
The 'Delete class' syntax (with neither key value nor read mode) means that you are trying to delete the current record; in this case, adxdlrec equals either zero (0) or one (1).
On the other hand, if you specify a read mode in the Delete instruction and if records corresponding to the read mode are deleted, then the adxdlrec number is significant as long as fstat is null (i.e., if at least one record could be deleted).
No associated error
|
|