I have a PERSON -form and with this form I have created for each person one document per year (at the moment 3 or 4 documents/person).Now I want to go through all docs of each person (like a loop) and to pickup only those persons name (only once) who has not any documents created year is the current year.
For example: Person A has 3 docs (created 2002, 2003 and 2004, person B has 4 docs (created 2002,2003,2004 and 2005) and person C has 4 docs (created 2001,2002,2003 and 2004) → to the view the name of persons A ja C.
I think it is not possible to resolve this problem using formula language. Please does anyone have code example to give me.
It’s very difficult to get aview with documents that not exists!
If you only want the list of people without document of that year, follow this method:
Make a view with all the people documents. The first column must be the name, sorted and categorized. Call it, “(Persons)” for example.
Make a second view copying the first one. Insert as a first column, the year field, sorted and categorized. The second column must be the name, only sorted. Call it “(PersonsByYear)”.
Create an action o link in a navigator with this formula: