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 fill in field 2 based on field 1

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

  1. panjo

    panjo
    Expand Collapse
    Guest

    I am setting up a database, with users, computers and licenses. I have
    created a table users, a table computers (In the computer-table there is a
    look-up to the user-table), and now I want to setup the licenses table.

    Since licences are installed on computers, I have a lookup to the
    computer-table.
    But for better understanding I want also the user listed in the licenses
    table. I can add this to the look-up filed, but I want it always vissible in
    tha table.

    Can I add a field which is automaticly filled with the user, based on the
    selected computer ?
     
  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

    panjo wrote:
    > I am setting up a database, with users, computers and licenses. I have
    > created a table users, a table computers (In the computer-table there
    > is a look-up to the user-table), and now I want to setup the licenses
    > table.
    >
    > Since licences are installed on computers, I have a lookup to the
    > computer-table.
    > But for better understanding I want also the user listed in the
    > licenses table. I can add this to the look-up filed, but I want it
    > always vissible in tha table.
    >
    > Can I add a field which is automaticly filled with the user, based on
    > the selected computer ?


    First you need to ask yourself if you want the user to change on your
    records if the user changes computers.

    If you want the user to changed if they change computers, you don't want
    to store that data, but rather simply look it up anytime it needs to be
    displayed.

    --
    Joseph Meehan

    Dia duit
     
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