I’m sorry. I’ll try again using more Bubble terminology than regular database terminology.
I have a list of “things” called Users. I also have a list of “things” called Transactions.
Users:
UserA, john@user.com, creation date 12/22/22
UserB, jane@otheruser.com, creation date 11/22/22
UserC, Cuser@adifferentemail.com, creation date 1/2/23
UserA (john) can charge UserB (jane) by creating a bill. Each bill is stored in a list of things called Transactions. UserC can also charge Jane by creating a new transaction for her to pay.
Transactions:
3/21/23, $300.00, jane@otheruser.com, john@user.com
3/20/23 $400.00, jane@otheruser.com, cuser@adifferentemail.com
I want to create a repeating group of things to display ALL of Jane’s transactions she needs to pay with the following fields:
Transaction date, Amount, Person who billed her:
3/21/23, $300.00, john@user.com
3/20/23 $400.00, cuser@adifferentemail.com
The above in bold is what I want the repeating group to look like.
What is the most efficient way to “do a search for” on the transactions so that only Jane’s transactions are returned and display the fields I want to display like above?
When I created a repeating group in the past, I make a “do a search” for each field.
Is there a way to just return the entire transaction and display the data from the transaction that was returned without having to do a search for every little field I want to display?
IMPORTANT: The logged in user (Jane) is not the creator of the transaction.
Because Jane did not create the transaction thing, I have to “do a search for” rather than “current user’s thing”. Like this.
Is it efficient to “do a search” for each individual item like transaction date, amount, etc, etc, etc?
Or is there a more efficient way to get the entire “thing” at once with one “do a search for” and display the fields I want from it (like amount, date, etc etc)?