Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

How Do I Increment An Auto Numbered Field With Value > 1

Discussion in 'Information Technology' started by Bob, Jul 28, 2006.

  1. Bob

    Bob
    Expand Collapse
    Guest

    I am trying to create a field in a table that will auto number while skipping
    every 4th number. Like 1,5,9,13
     
  2. Loading...


  3. OP
    Douglas J Steele

    Douglas J Steele
    Expand Collapse
    Guest

    You can't change the behaviour of the Autonumber field in Access: it's
    either sequential (increasing by 1), or random. No other choices.

    To get what you want, you'll have to write your own code to keep track of
    the value and increment it as desired.

    However, why do you need this? What purpose does it serve to have the field
    skip values?

    --
    Doug Steele, Microsoft Access MVP
    http://I.Am/DougSteele
    (no e-mails, please!)


    "Bob" <Bob@discussions.microsoft.com> wrote in message
    news:187BC989-2350-4E11-BC4D-333B161F1962@microsoft.com...
    > I am trying to create a field in a table that will auto number while

    skipping
    > every 4th number. Like 1,5,9,13
     
Since you're here... we have a small favor to ask...     Become a Supporter      ::     Make a Contribution     


Share This Page