TIDGen - [ack redords here
Register - Property FileName: The name of a file that keeps track of id's.
procedure Register;
Property FileName: The name of a file that keeps track of id's.
AttachFile: Hooks up the internal apparatus with the disk data
set. The method MUST be called before any other methods will work.
DetachFile: Breaks the connection between the TIDGen and the data
set. Call this only if you wish to attach the TIDGen to another data
set. For example
AIDGen.DetachFile;
AIDGen.IDFileName := 'NEWFILE';
AIDGen.AttachFile;
Pop: Returns an id for use. If any id's have been pushed onto the
stack, one of them is poped and returned. If the stack is empty
then a new never used before record id is returned.
Push: Use this to add a record number to the recycle stack. When
Pop next executes this record number will be returned.