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

Looking up data in Access 2000

Discussion in 'Information Technology' started by Jennifer Portnick, Nov 14, 2005.

Tags:
  1. Jennifer Portnick

    Jennifer Portnick
    Expand Collapse
    Guest

    Hello-

    I'm quite new to working with Access (as this message may give away).
    I've created a simple database for my company with the following
    tables:

    1. Store location number, store name and store address;
    2. Staff assignments by store (names of support personnel assigned to
    each store location).

    I have created relationships between these two tables based on store
    number and my query will pull a datasheet listing staff for each store.
    What I'd also like to do, though, is have a form in which if I put a
    store name, the store number, name, address, and staff assigned come
    up. I think this is done using a combo box but for the life of me I
    can't figure out how to do it. Can anyone offer some guidance?

    Thanks-
    Jennifer P.
    San Francisco, CA
     
  2. Loading...


  3. Jeff Boyce

    Jeff Boyce
    Expand Collapse
    Guest

    Jennifer

    From your description (one-to-many, store-to-employees), you could use a
    mainform/subform construction. Your main form could use a combo box to let
    you pick a store, then display that store's data. The subform would be
    "fed" by a list of employees, including their StoreID (which store(s) they
    work at).

    When you add (in form design mode) the subform into the mainform, Access
    prompts for the parent-child fields. I'm guessing that's StoreID?!

    Best of luck on your project.

    --
    Regards

    Jeff Boyce
    <Office/Access MVP>

    "Jennifer Portnick" <jportnick@yahoo.com> wrote in message
    news:1131917476.689158.185810@g47g2000cwa.googlegroups.com...
    > Hello-
    >
    > I'm quite new to working with Access (as this message may give away).
    > I've created a simple database for my company with the following
    > tables:
    >
    > 1. Store location number, store name and store address;
    > 2. Staff assignments by store (names of support personnel assigned to
    > each store location).
    >
    > I have created relationships between these two tables based on store
    > number and my query will pull a datasheet listing staff for each store.
    > What I'd also like to do, though, is have a form in which if I put a
    > store name, the store number, name, address, and staff assigned come
    > up. I think this is done using a combo box but for the life of me I
    > can't figure out how to do it. Can anyone offer some guidance?
    >
    > Thanks-
    > Jennifer P.
    > San Francisco, CA
    >
     
  4. Jennifer Portnick

    Jennifer Portnick
    Expand Collapse
    Guest

    I'll give this a try. Thank you very much for your response.
     
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