Hi @Anonymous ,
Do you want to add new records to your Project Employees list continuously through the "Add" button?
Based on the needs that you mentioned, I think the Gallery control could achieve your needs. Please check and see if the following video resources could help in your scenario:
https://www.youtube.com/watch?v=xgznk4XlPCo
https://www.youtube.com/watch?v=DylxsXIUyDc
https://www.youtube.com/watch?v=vjfrXUa1Juw
I have made a test on my side, please consider take a try with the following workaround:





Set the OnStart property of App to following:
ClearCollect(GalleryCollection, CountRows(GalleryCollection)+1)
Add a "+" icon in your screen, set the OnSelect property to following:
Collect(GalleryCollection, CountRows(GalleryCollection)+1)
Add a Gallery, set the Items property to following:
GalleryCollection
within the Gallery, add a Text Input, a ComboBox, two Date Pickers and a "Save" icon. And outside the Gallery, add several Labels above the Gallery to act as column headers.
Set the Items property of the Project_UID ComboBox within the Gallery to following:
Choices('Project Employees'.Project_UID)
set the SelectMultiple property of this ComboBox to false.
Set the OnSelect property of the "Save" Icon within the Gallery to following:
Patch(
'Project Employees',
Defaults('Project Employees'),
{
Title: "Entry Record",
'Employee Name': EmployeeNameTex.Text,
Project_UID: ProjectUIDComboBox.Selected,
'Start Date': StartDatePicker.SelectedDate,
'End Date': EndDatePicker.SelectedDate
}
)
Set the OnSelect property of the "Patch All" button to following:
ForAll(
Gallery1.AllItems,
Patch(
'Project Employees',
Defaults('Project Employees'),
{
Title: "Entry Record",
'Employee Name': EmployeeNameTex.Text,
Project_UID: ProjectUIDComboBox.Selected,
'Start Date': StartDatePicker.SelectedDate,
'End Date': EndDatePicker.SelectedDate
}
)
)
Please take a try with above solution, check if the issue is solved.
Patch function, ForAll function
Best regards,