Show number of user

Hi , I building an app for daycare and kindergarten

and I want the school to apple to see the number of student and staff that they already registered
Like the Screenshot , Thank you

Are you asking how to do it?..

If so, just do the relevant search and add :count to the end of the expression to get the number of items returned in the search (be aware of any privacy rules you have that may affect the search)…

Alternatively, you could store the numbers in a datatype somewhere and just display the numbers from that database entry (you’ll need to make sure you keep them updated as and when new students and staff are registered)…

which one is better and easiest do you think ?

store in data base or do it in the other way

Better and easier are rarely the same…

The first option is easier… but also likely worse for performance…

The second option will be better for performance… but more complex to set up and maintain…

So it depends what’s more important to you (and also on how big your database is)…

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