Hi All,
I think i have encountered a bug issue.
I am building an app and use global variable function set(varXXX, XXXX).
The issues I had,
1. I am trying to set up a global variable for last submit form ID and obtain it on the OnSuccess property -> set(varLastID, form1.lastsubmit.ID)
But after I finished it, the power app doesnt treat it as global variable. Other screen page cannot use varLastID.
2. Since varlastID doesnt work, so i change the syntax to -> set(varLastsubmitID, form1.lastsubmit). Now the varLastsubmitID is useable in the other screenpage. but I test it in the label text, it doesnt have nested data inside.
For example, label1.text = varLastsubmit.ID is not working. the system doesnt recognize .ID
I am very confused why it doesnt work. Could someone kindly check what is going on? (FYI, the form1 I have submitted many times with all data)
Thanks!