TonyGrondin
5 years agoQrew Member
Dynamic values in drop down list using a calculation.
I'm trying to source the values for a drop down list for a text multiple choice field the values entered on other related children records, but only show certain values and not every value from every record across the entire table. The data entered in the field could be anything the end user types into a text field, so it's going to vary and not be a fixed list.
I have parent table of projects and then a child table of items. Of those items, the items can be a primary or an alternate and there can be multiple different alternates for a primary item. There are also items that are not quantified as a primary, those items are universal. The primary is determined by end user selecting a boolean checkbox. The end user is creating these records as needed for their projects, there will be a couple hundred items per project. If an alternate is needed, the end user will create that record and then select from a pulldown on a multi choice field which primary it is an alternate for.
What I'm having trouble with is I want to source the values in the drop down list with only items from the project the item is associated to / a child of. So if I have 5 items with the primary checkbox selected on a project, on an alternate item for this project, I want to see in a drop down list those 5 items and not every item in the table that has that checkbox selected, which would be primary records for multiple different projects. So what I've tried to do is create a calculation field that will determine if the record is a primary and if so, that calculation field would then be filled in with the item name and item number. Then use that field as the input type for the field where I'd be selecting this is an alternate for this primary item.
------------------------------
Tony Grondin
------------------------------
I have parent table of projects and then a child table of items. Of those items, the items can be a primary or an alternate and there can be multiple different alternates for a primary item. There are also items that are not quantified as a primary, those items are universal. The primary is determined by end user selecting a boolean checkbox. The end user is creating these records as needed for their projects, there will be a couple hundred items per project. If an alternate is needed, the end user will create that record and then select from a pulldown on a multi choice field which primary it is an alternate for.
What I'm having trouble with is I want to source the values in the drop down list with only items from the project the item is associated to / a child of. So if I have 5 items with the primary checkbox selected on a project, on an alternate item for this project, I want to see in a drop down list those 5 items and not every item in the table that has that checkbox selected, which would be primary records for multiple different projects. So what I've tried to do is create a calculation field that will determine if the record is a primary and if so, that calculation field would then be filled in with the item name and item number. Then use that field as the input type for the field where I'd be selecting this is an alternate for this primary item.
------------------------------
Tony Grondin
------------------------------