Hello Everybody,
I am creating a copy and paste feature in my app but I need some variables to reset once navigation occurs.
I created variable RCARec from a previous screen when the copy button was pressed and this stores the value of a choice selection.
When pasting on a different screen, when OnSelect of the paste button is triggered I set a variable RCARecIn with the values of RCRec, see below
Set(RCARecIn, RCARec)
The RCARecIn value is then entered into the default box of the choice datacard I want to paste the data into.
All this works.
Problem is on the next OnSelect button I now need to set the RCARecIn variable to default but I can't seem to compile with the code below.
Set(RCARecIn, "")
I think this is because it is a choice column in a SharePoint list.
Please suggest code which would set the value of RCARecIn so the choice returns to empty.
Thank you in advance

Report
All responses (
Answers (