Gossamer Forum
Home : Products : DBMan : Customization :

Increment key with prefixed zeros (0001, 0002, etc.)

Quote Reply
Increment key with prefixed zeros (0001, 0002, etc.)
Hi,

I would like to increment my database key (a number) and have prefixed some zeros. In other words, instead of the default 1, 2, 3...100, 101, etc., the key would increment 0001, 0002, 0003...0101, 0102.

Eliot mentioned that I would probably need to look in db.cgi for the solution, but I've had no success so far with the tries I've made.

Can anyone point me to a specific spot in the script?
Subject Author Views Date
Post Increment key with prefixed zeros (0001, 0002, etc.) Glen Payne 704 Sep 17, 1999, 7:51 PM