Hello all,
Please help me with this issue.
I have the patch below which compiles.
Patch(RCAData, Defaults(RCAData),
{
BatchID:DataCardValue16_1.Text,
WaferID:DataCardValue28_1.Text,
TrackInTime:Now(),
RCARecipe:DataCardValue14.Selected,
RCAEquipment:DataCardValue27.Selected,
TrackInComments:DataCardValue4.Text,
Assignment:DataCardValue3.Selected.Value,
TrackInOperator: OperatorDropDown_1.Selected.Operator
}
);
Patch(BatchTrack, LookUp(BatchTrack, 'Batch ID'=DataCardValue16_1.Text && 'Wafer ID'=DataCardValue28_1.Text),
{
State: {Value: "TrackOut"},
OpCode: 11
}
);
ResetForm(Form1);
Navigate(BrowseScreen1)
It works but I have one issue, some of the data doesn't arrive at the SharePoint list destination. An example of the code for this data fault is:
TrackInOperator: OperatorDropDown_1.Selected.Operator
This is a drop down which references a SharePoint list for the choices, the list for the choices is named 'Operator' and the dropdown box is named 'OperatorDropDown_1'. The target in the SharePoint list named 'RCAData' is 'TrackInOperator'. It's important I can access the operator list in many different app screens and patch the selected data to different SharePoint lists.
Can someone tell me if my code makes sense and how to get it to work.
Thanks all.