How do I create a autonumber with format EC-0000 in access?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to create a number in the format of EC-XXXX (X represents number) that
increases by one with each new record.
 
Hello,
Within your table (= ones or form = more) in the format property of the ID
field : "EC-"0 and that's done.
Bye,
 
If it's always going to be EC-, then simply set the field's format to "EC-"#

If the EC part varies, then you should have 2 separate fields. It's actually
a violation of database normalization principles to store two separate
values in a single field.
 

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

Back
Top