I have a subform (B) within a form (A) that has a string field (row.Unique_ID) that I capture in a Multiline field (input.UID_List) as a summary of the unique field records using the following code:
1. if (!input.UID_List.contains(row.Unique_ID()))
2. {
3. input.UID_List = input.UID_List + "\n" + row.Unique_ID;
4. }
What I want to do is then count the lines in the field to calculate the number of different entries in another field (input.Count_UIDs)
Any suggestion?