I have two tables one for deposit locations and another one for visits, user has a map view of the near deposit locations and a button to start the trip. The button has an action that starts the visit and adds trip start time, location to the visits table. I want to take the id of the selected deposit location pin on the map by accessing the deposit locations table and adding this to the visits table in deposit_location_id column.
Some screenshots would probably help to understand what you're referring to.
User | Count |
---|---|
42 | |
25 | |
25 | |
16 | |
11 |