Best way to supply choices to a user for ease of data entry

headley27headley27 Member Posts: 188
For ease of data entry I would like to allow a user to select values from 2 lists (somehow linked) and Navision would populate a separate table accordingly.

For Example:

Step 1) The current record tied to 'Form A' is found in 'Table A'.

Step 2) The user clicks a checkbox on 'Form A'.

Step 3) The user is automatically provided with 'List 1'.

Step 4) The user selects a value from 'List 1' preferably by double clicking.

Step 5) The user is automatically provided with 'List 2' and the values displayed are 'filtered' based on the selection from 'List 1'.

Step 6) The user selects a value from 'List 2' preferably by double clicking and both selected values are stored in 'Table A'.

Since the values from 'List 1' and 'List 2' must be related, they must reside in the same table or be somehow linked.

Additionally, the values in 'List 1' and 'List 2' are to be displayed distinctly although the values in the associated table(s) is(are) not.

If a single table is used ('Table B'), data would be stored as such:

Field 1 Field 2
Circle White
Circle Black
Square White
Square Black
Triangle Red
Triangle Black

When displayed to the user 'List 1' would show
Circle
Square
Triangle

If Circle is chosen, 'List 2' would display
White
Black

If Triangle is chosen, 'List 2' would display
Red
Black

Again, the selected values would then be stored in 'Table A'.

What is the best way to achieve something like this?

Any suggestions would be greatly appreciated.

Thank you very much.

Comments

  • headley27headley27 Member Posts: 188
    Is what I am hoping to do even possible?
  • kinekine Member Posts: 12,562
    Of course, it is possible... :-)

    It is like this:

    1st table - Shape
    Circle
    Square
    Triangle

    2nd table - Color
    Red
    Green
    Black
    Pink

    3rd table - Shape Color (table relation of 1st field to table 1 and 2nd field to table 2)
    Circle, Red
    Circle, Black
    Triangle, Red
    Triangle, Green

    In this case, you can create some table where you have two fields:
    Shape field - table relation to the 1st table
    Color field - table relation to 3rd table filtered for Shape field value

    After that, you can select the values in standard way, shape at first and correct color into second field. Or you can change the OnLookup of the first field and let user to select the color in one step...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Alex_ChowAlex_Chow Member Posts: 5,063
    Check out the Interaction Log in the Relationship Management granule. They have something similiar to what you're trying to do.
  • DenSterDenSter Member Posts: 8,307
    Other examples:

    Item Unit of Measure
    Stockkeeping Unit (an example of a three-way link)
    Item Translations
    Vendor Bank Account
    Item Vendor
    Ship-to Address

    and many more.
Sign In or Register to comment.