Hi All,
I have a gallery which based on the Project name navigates to the screen which has a form. I am using the same form for New and Edit form. On select of the gallery I have a code:
Set(
varproject,
LookUp(
'Project Review List',
'Project Name' = TextInput8.Text,
'Project Name'
)
);
If(
Is Blank(varproject),
Newform(Form2),
Edit Form(Form2)
);
Navigate('ProjectReview_New Screen');
and on the Form Item Property I have given a code:
LookUp(
'Project Review List',
'Project Name' = Gallery6.Selected. Project Name
)
and the Default mode of the Form is Edit since I'm using the same form for Edit and New. The error which I am facing is when I select a project called "Ridley " it if exists in SharePoint list it navigates to the Edit form or else New form. Edit form is working fine. When I edit few details for the Ridley project and submit it gets saved to the SharePoint . And the next time again I navigate for the next project called CBRE it reflects the saved value from the Ridley Project. Only if I go back to the gallery page and navigate again to the form it Resets the form or else it shows the previous saved values. I tried to write the Reset form on the Visible property of the screen where the Form is it gives me "No item to display" message when I navigate from gallery.
Ay help/ suggestion on this would be greatly appreciated.
Thanks in advance.