
Announcements
So I have a button in my powerapp, when a user clicks on the button it should do a few things,
for the button formula I have started with:
If(LookUp(SharePointList,Variable='Created By'.Email,"OK")<>"OK",Set(varCreatedBy,LastAddedItem.'Created By'.Email=varUser)&&NewForm(EditForm2) && Navigate(Screen2,ScreenTransition.Fade),EditForm(EditForm1))
This is formula is not accomplishing my desired above. I would appreciate any and all help!
@Anonymous
Put this code in the OnSelect property of your button.
Set(recordID, LookUp(SharePointList,Variable='Created By'.Email, ID));
If(IsBlank(recordID),NewForm(Form1), EditForm(EditForm1));
Navigate(Screen2);
Then use this code in the Item property of your form.
LookUp(SharePointList,ID = recordID)
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."