Hello, I want to return last submitted record without creating a new screen, that is the point. I have a screen "Form for CS department" and form "Form_Control_CS_Department", and for example "Contract #" (primary key) is 19065341:
After user click "Submit" button, he will be moved to "Success screen". On "Success screen" user has a possibility to click button "Check data". This button move user to the record in View Mode, which has just been submitted (for this case I have created a new screen and form, where Items = Form_Control_CS_Department.LastSubmitted). In this View mode user have button "Edit":
You can see a variable varEditCS on start of app I have a line Set(varEditCS, false). So when user click this button he will be moved to a form, which was in the first picture:
You can see my code, where I am saying if variable is true (in case when button "Edit" was clicked), than return Last Submitted record, else return what was choosen in a gallery.
But it does not return me last record I don't know why.
Solved! Go to Solution.
You need to use on Edit button
Set(varEditCS,true)
but you have varEditCS =true what is not how variable is created or change
You need to use on Edit button
Set(varEditCS,true)
but you have varEditCS =true what is not how variable is created or change
Thank you, that works🙂
User | Count |
---|---|
263 | |
110 | |
98 | |
55 | |
40 |