Patch(
'Registre entrega Documentació',
Defaults('Registre entrega Documentació'),
{
ReservationID: Data_Hores.Selected.ID,
Títol: text_SIUAC_1, // This is failing because for the Text column you are passing the control (object) which doesnt accept hence its giving error instead of control if its text box you should pass controlname.Text same for the all the columns.
SIUAC:text_SIUAC,
HCPacient:text_HCPacient,
Observacions: Text_observacions,
Data_petició: Today()
}
);
As mentioned earlier Provde the formula like this
Patch(
'Registre entrega Documentació',
Defaults('Registre entrega Documentació'),
{
ReservationID: Data_Hores.Selected.ID,
Títol: text_SIUAC_1.Text,
SIUAC:text_SIUAC.Text,
HCPacient:text_HCPacient.Text,
Observacions: Text_observacions.Text,
Data_petició: Today()
}
);
✅If this helped, please Accept as Solution to help others ❤️ A Like is appreciated 🏷️ Tag @MS.Ragavendar for follow-ups.