Results 1 to 2 of 2
  1. #1
    em12 is offline Novice
    Windows XP Access 2007
    Join Date
    Jul 2010
    Posts
    1

    Please I need help with combobox

    OK I can't find the way to do this and I would really appreciate some help.

    for example:

    COMPANY is join to MOVIES (one company to many movies)

    now since 2 movies can have to same name but made by different company...



    for my other table MOVIES_PRODUCTION( many movies to many production)
    instead of writing the movie id in the MOVIES_PRODUCTION table...

    i would like to have a dropdown list that would say the movie name and the company.

    I can get the movie name but i cant get the company beside it i just get its id number (idcompany that is in the MOVIE table)

    oh and all my ids are autonumbers... they dont mean anything that why i would like to see the names instead.

    Please.. any help would be very appreciated

  2. #2
    jzwp11 is offline VIP
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Location
    Dayton, OH
    Posts
    2,901
    Welcome to the forum!


    It sounds like your tables are structured as follows which appear to be correct

    Company
    -CompanyID primary key, autonumber
    -CompanyName

    Movies
    -MovieID primary key, autonumber
    -MovieName

    MOVIES_PRODUCTION
    -MovieProductionID primary key, autonubmer
    -MovieID foreign key to Movies table
    -CompanyID foreign key to Company table

    First, are the dropdowns you are referring to at the table level or in a form? If they are at the table level, that is not recommended; see this link for more information. Dropdowns (combo boxes) are OK when used in forms. In other words, you would not have the movie and company names in Movies_Production only the ID fields. To make it easier to view, you would use forms.

    I'm not sure if you want to see the movies and the companies that produced them or the other way around. I assume you are interested in seeing the movies, so I would base a main form on the movies table and then use a subform based on the Movies_Production table. In that subform, you would use a combo box (dropdown) to display the companies that have made the movie shown in the main form.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. combobox on report?
    By RedGoneWILD in forum Reports
    Replies: 3
    Last Post: 07-08-2010, 11:22 AM
  2. Combobox help
    By rnjalston in forum Forms
    Replies: 1
    Last Post: 04-02-2010, 06:37 PM
  3. help with combobox
    By ManC in forum Forms
    Replies: 0
    Last Post: 03-15-2010, 08:27 PM
  4. Replies: 0
    Last Post: 12-16-2009, 01:14 PM
  5. ComboBox Autocomplete
    By AdrianKitchen in forum Forms
    Replies: 3
    Last Post: 10-13-2009, 11:12 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums