1 of 1 people found this helpful
If [ Count ( TestFile::container1 ; TestFile:container2 /* etc. until 5 */ ) < 5 ]
Count only counts non-empty fields, so a result < the number of listed fields means that at least one is empty.
You could also create a calc field with that calculation and use it to search for records with an arbitrary number; should work faster than a loop and is easier than changing the script.
This works perfectly. Thanks so much!