Welcome to SPN

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

Sign Up Now!

Auto Number Based On Another Field

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

  1. Jennyjune

    Jennyjune
    Expand Collapse
    Guest

    First Let me say- Im totally new at this and not very good! Im trying to set
    an auto number based on another field.. For example I have 5 types of
    products- those products all have a code in a table- I want to have another
    table look at that Code and then set a unique auto number.

    So so one code is GC and another code is GCP- I want the autonumber for GC
    to start at 100 and the Autonumber for GCP to start at 300- Perhaps auto
    number is not the way to do this.. But like I said Im new and my Access for
    Dummies (LOL) is not helping!

    Thanks in advance for any help and suggestions!
     
  2. Loading...


  3. OP
    Joseph Meehan

    Joseph Meehan
    Expand Collapse
    Guest

    I suggest you may not want to use Autonumber for that use. Autonumbers are
    designed to provide unique numbers. It in not designed to provide numbers
    in order and for a number of reasons may not do so. As a result using them
    in any application where the user sees the numbers is likely to end up with
    confusion.

    There are other ways of providing the numbers you want depending on the
    particular application.


    --
    Joseph Meehan

    Dia duit
    "Jennyjune" <Jennyjune@discussions.microsoft.com> wrote in message
    news:953D2035-499C-4782-BF5C-91972CAD624C@microsoft.com...
    > First Let me say- Im totally new at this and not very good! Im trying to
    > set
    > an auto number based on another field.. For example I have 5 types of
    > products- those products all have a code in a table- I want to have
    > another
    > table look at that Code and then set a unique auto number.
    >
    > So so one code is GC and another code is GCP- I want the autonumber for
    > GC
    > to start at 100 and the Autonumber for GCP to start at 300- Perhaps auto
    > number is not the way to do this.. But like I said Im new and my Access
    > for
    > Dummies (LOL) is not helping!
    >
    > Thanks in advance for any help and suggestions!
     
Since you're here... we have a small favor to ask...     Become a Supporter      ::     Make a Contribution     


Share This Page