F
F
foonfyrick2021-12-30 18:33:22
1C
foonfyrick, 2021-12-30 18:33:22

How to find match in structure and in drop down list?

There is a drop-down list in the tabular part, and I have a structure, how to find a match between the elements of the drop-down list and structure keys? I don't understand how to get all the values ​​in the drop down list, it refers to the reference.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Vodakov, 2021-12-30
@WaterSmith

Well, let's think logically. The dropdown list has a data source. If, as you say, it refers to the directory, then it contains all the elements of the directory, therefore, in order to find the desired element in the list, you need to find it in the directory.

D
Dmitry Kinash, 2022-02-06
@Dementor

The question is kind of rambling and doesn't make sense.

how to find match of dropdown list items...., it links to reference
It turns out that an attribute of the DirectoryLink.SomethingTam type is displayed on the form. When you click the value selection button, a list of the most recently selected values ​​appears and the option to open the full selection form. If the primary list visually has a "match of elements" , then this is not a match at all, and the user named the elements the same. The task of finding and collapsing duplicates is a classic task of maintaining databases...
there is a drop down list and i have a structure
And now, in general, the question of finding matches for elements in Lists and Tables of Values, Structures, Correspondences and Arrays. The simplest and most understandable method is to search through the elements of the collection how many times this element occurs in the same collection.
A more algorithmic way is to create a value table with two columns - Value and Amount. Drive the values ​​of the checked collections into the first column, and ones into the second. Then call the Collapse() method - now everything where the number has become more than 1 is duplicates.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question