Hello,
I have a gallery bound to collection.
Is there a way to implement an Afterchange (or maybe lostfocus, or something like this) event for a textbox?
The reason is that i want to change another value in the collection, depending on some restrictions.
The important columns are here "stunden" and "stunden_faktura".
If i change "stunden" and "stunden_faktura" is 0, than "stunden_faktura" should get the value of "stunden"
If i use the onchange event of the texbox stunden to do the following:
If(Value(txt_stunden_faktura.Value)=0,
Patch(col_Tat,
LookUp(col_Tat ,cr8ec_tatigkeitid=GUID(ThisItem.cr8ec_tatigkeitid)),
{
cr8ec_stunden_faktura:Value(txt_stunden.Value)
}
)
,false);
Then it start patching during i enter the value in the textbox stunden, but it should wait until i leave the textbox.
If you type very qucik it works but in normal use the value of stunden_faktura gets updated before the entering in textbox stunden is finished