Method Community

 

Relationship between 2 fields

Last post 01-07-2015 8:54 AM by Method_Justin. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 12-30-2014 10:25 AM

    Relationship between 2 fields

    How can I create to dropdown fileds that are related.

    For example 

    I want to create a screen for equipment, when I choose the make (ford, chevy, etc) in the first dropdown field, I want the next dropdown field to show models for the make only ( F250, F350)

  • 12-30-2014 12:47 PM In reply to

    Re: Relationship between 2 fields

    Answer

    Hi Marcelo,

    You can filter your second dropdown (Model) on Step 5 of the Dropdown Properties in the screen designer. You can filter it to only show only Models that have the Make selected in your first dropdown.

    Hope this helps.

    - Justin

    Justin Henderiks
    Technical Sales Specialist
    Method Integration Inc.
    Toll Free: 1.888.925.6238
    Local and overseas: 416.847.0400
    Fax: 416.640.6027
    E-mail: j.henderiks@method.me
  • 12-30-2014 3:29 PM In reply to

    Re: Relationship between 2 fields

    I am not following the logic

    Do I have to create tables for each make and then linked them.

    One table for all the Fords models, a different table for all the Chevy Models, etc

  • 01-07-2015 8:54 AM In reply to

    Re: Relationship between 2 fields

    Hi Marcelo,

    Sorry for the late reply, I initially missed this. I created a table for makes called CarMake and a table for models called CarModel. I then added a required dropdown field Make to the CarModel table, which created the link between the two tables.

    Hope this helps.

    - Justin

    Justin Henderiks
    Technical Sales Specialist
    Method Integration Inc.
    Toll Free: 1.888.925.6238
    Local and overseas: 416.847.0400
    Fax: 416.640.6027
    E-mail: j.henderiks@method.me
Page 1 of 1 (4 items)