Hello
I'd like it if someone would look at my code.
I have a gallery showing colTimesheetLines. It is a dropdown and some text boxes for time entry.
I have a save icon with this in the onSelect
ForAll(
colTimesheetLines,
Patch(
EstimatingTime,
Defaults(EstimatingTime),
{
Week: Text(DateLabel),
Project: ProjectDropdown.Selected.Title,
MonHour: Value(inputMon.Text),
TueHour: Value(inputTue.Text),
WedHour: Value(inputWed.Text),
ThurHour: Value(inputThur.Text),
FriHour: Value(inputFri.Text),
SatHour: Value(inputSat.Text),
SunHour: Value(inputSun.Text),
TotalHours: Value(inputTotal.Text),
Percent: Value(inputTotalPercentage.Text),
WeekStart: varDate,
Collated: 0
}
)
);
Clear(colTimesheetLines);
If I run it with just one entry it is perfect. If I have more than one, three for example, the last record is saved three times, overwriting the earlier ones

Thank you for your time
Conn
Additionally I would like the ability to edit these, which causes odd problems, but that is totally an extra problem
