Hi all,
I am trying to build a complex condition into a repeating group in my app. Here is a high level:
Let’s say I am trying to pick a snack if it meets one of the foll. conditions:
- EITHER it is primarily protein and secondarily carbohydrate
- it is primarily Carb AND secondarily fiber
- OR it is primarily protein and secondarily FAT
I have all the values of protein, carb etc already assigned in my database against each of these foods.
When I do a search for in my repeating group set up to display all the foods that meet these conditions, so far I have been able to specify only one set of conditions, for example one of the 3 above.
Are there any other methods I am missing? Thank you!!