Gossamer Forum
Home : Products : DBMan : Customization :

Id field and autonumbers

Quote Reply
Id field and autonumbers
Hi,

I have customised my dbman set up quite considerably and seem to have forgotten an important element.

I assumed at the begining that the Id field for a record could be an autonumber generated by dbman.

I have now come to a point where I need this auto number working and im not sure if it can.

Can DBman generate unique autonumbers to be used as an id field?

How would I do this?

Please ask if you need more info on my setup and config.

Thanks,

Gaslight..

Quote Reply
Re: Id field and autonumbers In reply to
The ID is auto-incremented and unique by default. Do you want randomly generated IDs?

Regards,

Eliot Lee

Quote Reply
Re: Id field and autonumbers In reply to
Set up a field for the counter.

Set $db_key = 'name of your counter field';.

Set $db_key_track = 1;.


JPD
http://www.jpdeni.com/dbman/