Filter costs on tab for the current project

Hi,
First time Glide user and first time attempting to build an app and I have hit a roadblock with my projects cost app.

I have the Projects on the first screen, click on that and it takes you through to that Projects details and then I have a “add costs” button, which takes you to another tab and it will list the costs already entered, plus a + button to add more costs.

Problem is, that “costs” tab lists all the cost for all the projects and I want it to just list the costs for that particular project?

The Choice Button is just set up to “go to tab”.

I am not sure what other details will be helpful and what won’t.

Thank you for any help :slight_smile:

Hello, welcome to Glide :waving_hand:

Data editor
In the Projects table, create a relation to the Costs table. Set it to multiple.
Ideally, create this relation using row IDs and not the name of the projects.

More on relations
More on row IDs

Layout editor

On the project details screen, add a collection component and source it to the relation created above. When configuration the collection, include a title bar action and set the action to “Show Form Screen”.