View Full Version : ID Format


romio
06-21-2005, 02:32 PM
I really forgot how to do this, how can I change the format of my ID, I have set it up as autonumber and I need to view as

For Example

ACA001
ACA002 etc

The way I have it now is just simple plain numbers 1,2,3,4,5..etc

Thanks.

Mile-O
06-21-2005, 02:42 PM
What happens after ACA999?

romio
06-21-2005, 02:54 PM
mm I assume it should go to 2000, the number will be increased always by one I just need to add ACA to Identify it.

Pat Hartman
06-21-2005, 08:11 PM
If you want to display leading zeros, you'll need to decide how many you'll need. If you have to change the format in a few months or a year, you'll cause a lot of confusion.

"ACA" & Format(YourAutonumber, "00000") <---- some FIXED number of zeros to control the displayed length of the numeric part of the field. If you choose too small and exceed that number, data will appear to be truncated. It won't actually be lost since the format doesn't affect the stored value. It only affects the displayed value.

romio
06-22-2005, 12:30 AM
Thanks guys Got it fixed.

Bat17
06-22-2005, 12:35 AM
In the table properties, add to the format property of the Autonumber Field
"ABC"000

Peter