Im trying to register a user between two selected dates(in a sharepoint list of dates) using first date id and incrementing it 1 by 1,but it doesnt work well, it make mismatch ETAG error appear. How can I fix it?
Concurrent(
UpdateContext(
{
dateDiff: DateDiff(
DatePicker1.Value;
DatePicker1_1.Value
)
}
);;
ClearCollect(
colIdInicio;
{id: idInicio}
);;
Refresh(Fechas);;
ForAll(
Sequence(dateDiff + 1);
UpdateIf(
Fechas;
idFecha = First(colIdInicio).id && idPlaza = Text(Dropdown1.Selected.idPlaza);
{nombreEmpAsignado: nombreAsignado}
);;
Patch(
colIdInicio;
First(colIdInicio);
{id: First(colIdInicio).id + 1}
);;
Update(colIdInicio;First(colIdInicio);First(colIdInicio))
);
UpdateContext({verAsignar: false})
)
Solved! Go to Solution.
@Anonymous
You posted this message yesterday in this thread.
Your formula is backward and has a lot of issues in it. I posted a response there but you did not reply.
I would suggest following what I provided for you in that post.
@Anonymous
You posted this message yesterday in this thread.
Your formula is backward and has a lot of issues in it. I posted a response there but you did not reply.
I would suggest following what I provided for you in that post.
User | Count |
---|---|
252 | |
125 | |
106 | |
50 | |
49 |