Conditional data query

I want to have a repeating group showing:

If current user expert = yes then show all things where provider = user.
else show all things where client = user.

So I just want to have a conditional data source as query to the database. I can make 2 repeating groups and show them conditionally but that sounds like a bloated solution. Anything I missed?

Hi there, @aris.alexis.gia… you might have come across this by now, but Data source is one of the properties you can change on the Conditional tab of a repeating group. So, you could use one repeating group and conditionally change its data source based on current user expert being either yes or no. Think that could work for you?


It worked and I didn’t know about it so thank you

This topic was automatically closed after 70 days. New replies are no longer allowed.