GenIDno(key)
Key = name of Id number sequence
Return type:
Numeric value incremented by 1
Description:
This is a function that automatically generates a sequence of number identified by a “key”
Normally used for a unique identifying number for order, invoices or in most cases a ID number on a record.
Example:
imidno = genidno('csmaimp')
The variable imidno is a unique is in the file csmaimp. The “key” is the file name this way keys don’t get mixed up.
(see program CSMAIM62R)
Notes and Restrictions:
The “key” is case sensitive