Gossamer Forum
Home : Products : DBMan : Customization :

Concurrent UserID and ID fields

Quote Reply
Concurrent UserID and ID fields
I have DBMan up and running using the UserID field as the dbase key sothat each user can only create one record. However, I would also like to have an ID field (numerical)which counts the number of records and automatically assigns a number (last entry plus one) to a new record - just like the ID count function.

I would appreciate your help - Thanks.
Quote Reply
Re: Concurrent UserID and ID fields In reply to
Using the .count file as a count of the number of records is not a good idea. It will be wrong as soon as someone deletes a record.

I don't know of a way to keep a counter field that is not the key value.


------------------
JPD