If the number is to be seen by the user, I would not use autonumber, since
there will almost ineveitably be gaps in the number sequence. If the gaps
don't matter then there is probably no need to see the number at all, since
it is meaningless.
See
http://www.rogersaccesslibrary.com/download3.asp?SampleName=AutonumberProblem.mdb
for one method of adding an incrementing number using code. Another thing
you could do would be to add a number field (indexed, no duplicates - I will
call it IncrementingNum) to the table, then to bind a text box (I will call
it txtIncrement) on a form to that field. Something like the following as
the default value for txtIncrement will add an incrementing value to the
number field:
=Nz(DMax("IncrementingNum","tblMain"))+1
Use your own field and table names, of course.
Then, in an unbound text box on the form, set its control source to:
="CCA-" & [IncrementingNum]