Welcome to SPN

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

Sign Up Now!
  1. Guest ji, please consider donating today!
      Become a Supporter    ::   Make a Contribution   
    Monthly Recurring Target: $300 :: Achieved: $95

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!
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page