Hi. I have a problem with Patch function. I want to populate a field (CheckoutTime) with Now() function in an already existing record. In order to do it, I search the record by three fields values:
- a Barcode taken from an inputText,
- a Creation date of today (no matter what time),
- a CheckoutTime that is blank
In other words I want to update the record that has the specific Barcode inserted in an InputText, that has been created today and that has nothing in the field CheckoutTime.
I have written a formula but sometimes it works and sometimes not, because has non delegable function in it:
Patch(checkin_1;LookUp(Filter(checkin_1;IsBlank(DataOraCheckout);Left(Text('Data creazione');10)=Text(Today());Barcode=TextInput1.Text );Barcode=TextInput1.Text); {DataOraCheckout: Now()})Left is not delegable, also in and Last...
So what I ask is: are there delegable functions that I can use in order to find a record by the value of this three fields? Have you ever been in this situation?