Hello! I am attempting to patch some info into a sharepoint list and I am getting an unfamiliar error.
Here is the error, and a copy of my code. JobNumAndName is a dropdown, the rest are text fields. Ideally all that would need to be done is to select a jobsite from the dropdown, input the notes, and press submit and in the background it would autofill the date/time, and glbuser into the sharepoint list. It is also giving the issue 'the type of this argument 'JobNumAndName' does not match the expected type 'Text'. Found type 'Record'. which is why I put .selectedtext on the dropdown. This same layout for Patch works just fine in other parts of my app, but not here.
Any advice? Am I missing something?

Patch('Job Notes Master', Defaults('Job Notes Master'),
{Submitter:glbUser,
Notes:'txt.Notes',
JobNumAndName:DD_JobNumAndName2.SelectedText,
ActivityDateAndTime: Text(Now(), DateTimeFormat.ShortDate)
}
)