My app allows used to handoff tools to another employee. On the Mytools screen they can click a button in the gallery which executes the following code;
Navigate('Tool Handoff',ScreenTransition.Cover);
Set(Handoffview,true);
Set(HandoffDamageItem,ThisItem.DENumber)
The Tool Handoff screen as a form which filters items as below;
LookUp(EquipmentV2S,DENumber=If(Handoffview,HandoffDamageItem,"99999"))
This displays the information for this tool and allows the user to select another employee to assign the tool to using a dropdown list. The Update button on this form executes the code below;
Patch(EquipmentV2S,LookUp(EquipmentV2S,DENumber=DataCardValue1.Text),{FullName:DataCardValue31.Selected});
Navigate(MyTools);
Set(Handoffview,false);
You can also navigate to the Tool Handoff screen from the main menu. I would like to allow the user to manually type a tool number into DataCardValue1 and have the Tool Handoff screen update to display the data for this tool and allow the user to select another employee to hand off the tool too.
I cant figure out how to update the displayed item based on the input from the datacard.
Any advice would be appreciated.