Results 1 to 2 of 2
  1. #1
    sjs94704 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2012
    Location
    Berkeley, CA
    Posts
    20

    How should I set up tables for this situation?

    I am creating a database for practice. For this database it is for a car rental agency. So, what would happen is the agency would obtain a car that would be made available for rent. The user enters the car into a form which is the car profile.

    As part of the car profile, there would be two combo boxes. One for make, the other for model.

    My desired result is that once the user selects a car make, then the model combo box would be limited to only the models for that make.

    I currently have one table for makes of cars that looks like the following:



    CodeCarMakeID (Autonumber, Primary Key)
    CodeCarMake (Text)

    However, I'm not sure how to design the table for model in order to accomplish my goal?

    I'd appreciate any suggestions

    Thanks in advance

    Steven S
    Berkeley, CA USA

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,624
    tblModels
    Model (this can be PK or can use an autonumber field as PK)
    Maker (the autonumber from tblMakers or the actual name - Ford, Chev, Mazda, etc)

    Review this tutorial http://datapigtechnologies.com/flash...combobox2.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 4
    Last Post: 03-31-2012, 10:52 AM
  2. Replies: 5
    Last Post: 09-17-2011, 12:44 PM
  3. Need a help on Cross Tab type Situation
    By navensg in forum Access
    Replies: 1
    Last Post: 05-27-2011, 05:00 PM
  4. Export / Import situation
    By svcghost in forum Import/Export Data
    Replies: 7
    Last Post: 10-14-2010, 04:23 PM
  5. Simple access situation
    By Xi0N in forum Access
    Replies: 1
    Last Post: 08-10-2009, 07:04 AM

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