Hi @ogopogoelmo
To achieve t you can use a ComboBox to search through your second list and then use the selected team name when logging mileage in the first list.
Add a ComboBox to your mileage logging form:
Add a ComboBox control to the form.
Set the Items property to filter your second list (List2) based on the search text. Use this formula: Filter(List2, StartsWith(Employee, ComboBox1.SearchText) || StartsWith(TeamName, ComboBox1.SearchText))
Set the SearchFields property to ["Employee", "TeamName"] and the ShowFields property to ["Employee", "TeamName"].
Populate the Team Name field:
Add a Text Input control for the Team Name in the form.
Set the Default property of this Text Input to ComboBox1.Selected.TeamName.
With this setup, users can search for an employee and team name from the second list using the ComboBox. When they select a team, the Team Name field in the mileage logging form will automatically be filled with the selected team name.
I hope i have got what you are trying to achieve if not please provide some additional information like screenshots of your current components to find out exactly what you are trying to acheive.