Hi guys.
I have to built different buttons with almost the same code.
Every button create a record in my list with patch() function, I'm just looking for a code that I can paste without wating time modifing it everytime.
Actually, the code is:
Patch('Segnalazione eventi macchina';Defaults('Segnalazione eventi macchina');{Linea: "T6";Evento: "Raccolta";Inizio: Now()});;
But i'd like to have something more standardized to create the "evento" value, such as:
Patch('Segnalazione eventi macchina';Defaults('Segnalazione eventi macchina');{Linea: "T6";Evento: Button.text;Inizio: Now()});;
Actually I don't know if this is possible, just wait for your suggestions 🙂