i make car rent app
i want show only the booked for each independent car owners
when i make repeating group for the booked cars , it show all of the booked not only for the car belong to one car owner.
It’s because you are searching for all of the booked cars. You should restructure your database (if you don’t have fields to discern ownership) so that you can add constraints to the search.
You should also add privacy rules so that only the user who booked and the owner of the car can see the data (depends on your use case)
how can i structure the booking database ? , also what is the workflow of this repeating group for show only the booked for each car owner
Show us screenshots of your DB structure so we can advice accordingly.
While you can display data to an RG, I believe this isn’t what you need for your use case. You can just add constraints to the RG’s search
If you want to display the booked cars data to the car owners, you can just search for rents/bookings
and add a car owner
constraint wherein the car owner
is the current user
Also, don’t forget to add privacy rules!
ok , i will try to add this constraint , and let you know after i finish
i tried - but when i add constraint ( car owner = current user ) it hide all cells in repeating group
i solved the issue