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...

    Similar Threads Forum Date
    Opinion Is Autocomplete Evil? Some Women Take A Hard Look at Google ! Breaking News Nov 7, 2013
    Sikh News AutoZone sued for firing Everett Sikh Breaking News Sep 29, 2010
    India Singh: Centre Ready To Give Kashmir Autonomy Breaking News Aug 11, 2010
    India Paste tariff cards behind driver’s seat: Transport dept to automen Breaking News Jul 21, 2010
    Gursharan Kaur: India's First Lady's Autobiography Sikh Personalities Jun 1, 2010

  3. 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!
     

Share This Page