Hi,
I have two SP List:
SPList1 = this is where I'm going to save my data from the form
SPList2 = I'm using this list to populate the value to my dropdown
Now, I add a button for me to save the details in my SPList1 including the value in my dropdown. My problem is, the value in my dropdown which is from SPList2 is not saving in SPList1. Here below is the code I'm using.
Patch(
'QC Inspection Report',
Defaults('QC Inspection Report'),
{
'Control No.': txtIControlNo.Text,
'Prepared By': drpEmployeeName.Selected,
'Business Unit': drpBusinessUnit.SelectedText.Value,
'Material Type': drpMaterialType.SelectedText.Value
},
frmAdd.Updates
);
Note: the column type of my column for dropdown in SPList1 is Single Line of Text.
Hope you can help me on this as I was stuck on this problem.
Thank you