@cacaw99
The error means that the 'Area Responsible' field in your 'Monitoring RN' data source is expecting a Record type, but you're trying to patch a Text type to it.
When the data type doesn't match, Patch function can't successfully execute.
If 'Area Responsible' is a complex field like a Lookup or a Choice field, you want to make sure that you're patching a record that matches the expected structure, not just a simple text.
In case 'Area Responsible' is a Lookup field for example, your Patch formula should look something like this:
Patch(
'Monitoring RN',
Gallery1_5.Selected,
{
'Area Responsible': If(
IsBlank(ComboBox4.Selected.Title),
{Value: Label8.Text},
{Value: ComboBox4.Selected.Title}
)
}
)
In this formula, {Value: Label8.Text} and {Value: ComboBox4.Selected.Title} are Records that match the structure expected by the 'Area Responsible' field.
'Value' is a common subfield name for complex SharePoint fields, but you should replace 'Value' with the actual subfield name if it's different.
Remember to replace the placeholder values with the actual values relevant to your app.
See if it helps @cacaw99