Results 1 to 4 of 4
  1. #1
    emeraldstar is offline Novice
    Windows 10 Office 365
    Join Date
    Oct 2021
    Posts
    1

    Getting myself confused and need some help please!

    Hi All,

    I'm new to MS Access and am having a bit of a tough time so I thought I'd turn to you experts for some advice / guidance.



    I have successfully imported a text file with a price list of products into a table. The price list includes separate fields for brand, model and price. Each record has a unique primary key number generated by Access. What I'm looking to achieve for now is a way of inputting a customer order in to a form. I want access to provide me with a drop-down list of the brand and once this brand has been selected for the form to restrict the models of equipment to only the brand selected. This saves me having to scroll through a very long price list! I then want to be able to select this item, type in a quantity and then move on to the next item, adding it to the customer order.

    Can anyone assist me please?
    Thanks
    Marty

  2. #2
    Minty is offline VIP
    Windows 10 Office 365
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    You are after a thing called cascading combo's.

    Have a look here http://baldyweb.com/CascadingCombo.htm
    Paul's site has a simple demo you can download to see the methods employed.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  3. #3
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,566
    Hi Marty

    To manage Brands and Models you would need the following table structure:-

    tblBrand
    - BrandID - Autonumber - Primary Key
    - Brand - Text

    tblBrandModels
    -BrandModelID - Autonumber - Primary Key
    - BrandID - Foreign Key - Number (Linked to BrandID in tblBrands)

    You would then use Cascading Combobox's in your Form to allow you to select a Brand using the 1st Combobox
    and then the 2nd Combobox would only display those Models associated with the Brand selected.
    You can PM me if you need further help.
    Good Reading https://docs.microsoft.com/en-gb/off...on-description

  4. #4
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    from your description it sounds like you want to use cascading combos in a continuous form which gets a bit more complicated

    See this link for a way to do it https://www.access-programmers.co.uk...s-form.275155/

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

Similar Threads

  1. I am confused please help me
    By pedjvak in forum Forms
    Replies: 5
    Last Post: 04-20-2013, 02:13 AM
  2. very confused about relationships
    By devxweb in forum Access
    Replies: 3
    Last Post: 12-20-2012, 06:47 AM
  3. I am a bit confused by this one
    By wubbit in forum Access
    Replies: 7
    Last Post: 05-15-2012, 03:18 PM
  4. Confused!!!
    By mkc80 in forum Access
    Replies: 1
    Last Post: 05-11-2012, 04:39 PM
  5. Just Confused
    By BigCat in forum Access
    Replies: 1
    Last Post: 05-09-2011, 12:57 PM

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