Hi everyone, 😃
I am quite new to PowerApps, though I am keen to learn more about it. I have a question regarding the patch and the if statement since I got numerous errors after using both in the same OnSelect bottom field.
This is my logic (which is not working):
If(Namn.Text = "",//Here I would like to see if Text Input called "Namn" is empty and if so notify the user
Notify("Skanna ditt passerkortskort för att komma in", NotificationType.Error), //It is working although it allows the user to pass the screen to the next one and also collect the data to my SP database (which I do not want)
Patch('Troubleshooting app database'
{
'Avvikelse har loggats av/Deviation has been logged by':Namn.Text
'Antällningsnummer':Antallningnummer.Text, //Those statement are not working
}
)
Navigate(Identification,ScreenTransition.Cover) // here I would like as far as the if statement is not true to allow the user to go ahead to the next screen.
It might be simple the answer, but my knowledge gap is loud here!
I wonder if you guys have any suggestion on this matter?