Hi,
I currently have an app with 2 screens and 2 sharepoint lists as my datasources. The lists are identical (but for our different departments).
On my first screen a drop down allows the user to change department - which changes the gallery to display the items from the chosen datasource. The user can then select the item, and move to the edit screen.
The edit screen - edit form will also change depending on which item the user selected on the home screen.
This all works well - however, the datasource for the edit forms will not change. I have tried a few different formulas but it errors or does not work.
This means when a user selects a department, selects an item, then moves to the edit screen, it retrieves all the correct information from the correct datasource (items are gallery1.selected), but the datasource for the edit form will not change to reflect the choice made on the initial dropdown, so an error occurs when trying to submit the form.
I have tried to change the datasource on the edit form to this:
If(Dropdown1.Selected.Value="X",Department1List,
Dropdown1.Selected.Value="Y",Department2List)
But that still errors.
Any help would be greatly appreciated!