Coz,
No, the autonumber type is a long integer. ABC0001 would be a text field. Use an
autonumber to generate the 1 or 2, or 3, etc... and then append the ABC and the
appropriate number of zeros to your autonumber in another calculated text control.
This will get a bit messy though... as the length of the autonumber will grow over
time, and the correct number of 0's to be cocatenated to it will vary.
Also, "pad" enough 0's to cover larger numbers. What happens after ABC9999 occurs?
Also, that concatenated string does not have to be saved to a field. You can always
calculate (just display) it on the fly in any form or report or query.
Using my format of ABC-132, a calculated text control on your form with...
= "ABC-" & [YourAutoFieldName]
will always display the correct value/format you want.
I'd suggest using ABC-1 or ABC-3145 type format, then the "ABC-" can be appended
directly to the value of the auto field.
--
hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions
Coz said:
I use an incremented reference, always starting with the same three letters,
can autonumber be set so these letters are always prefixing the autonumber
(as opposed to the user having to check last ref, add one and type it in ???