Autonumber

  • Thread starter Thread starter Frank
  • Start date Start date
F

Frank

I am using the Autonumber to apply a numberic number to
each case, the problem hits when each case needs the
letters AO placed in front of the number. Our case
numbers start at one each year and run like this:

AO1
AO2
AO3
etc.

How do I get Access Autonumber to add the AO in front of
the Autonumbers?

Thank you for any assistance you can give in this matter.

Frank
 
You can't. Autonumber value can be a number only. Use a separate field for
the AO and then concatenate with the autonumber value when displaying the
info on a form or report via a query.

Note that autonumber should not be used for meaningful, sequential
numbers...autonumbers develop gaps (for a variety of reasons) and can become
random or even negative numbers. If you want a meaningful sequence, set up a
macro or VBA programming that gets the next number in a sequence for you.
 
Frank said:
How do I get Access Autonumber to add the AO in front of
the Autonumbers?

See:

http://support.microsoft.com/default.aspx?scid=kb;en-us;240317

Extract: "The Microsoft Jet database engine provides a Counter
(AutoIncrement) field. Starting with Jet 4.0, you can specify a
starting value and an increment value. This solves most of the need for
using a custom counter that users of earlier versions of Jet had.
However, if your counter is a text value or does not increase in a
fixed amount, the steps outlined in this article may benefit your
application."

Jamie.

--
 
The MS Support document was helpful but a little over my head. Is there a
simpler answer given Jet 4.0 is being used and there are no concurrent users?
 
Wants To Know said:
The MS Support document was helpful but a little over my head. Is there a
simpler answer given Jet 4.0 is being used and there are no concurrent users?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Puzzled by Compile Error: Expected:= 7
autonumber queestion 3
Generate increment numbers automatically 2
Increment Field 2
Autonumber 7
TINA - autonumber 2
Autonumber Drastic Increase 4
Autonumbering Query 1

Back
Top