I am trying to apply the username and password function to my app and I am getting an error I cannot figure out. Please help me figure this out.
This is the code I am using on a button (OnSelect):
If(!IsBlank(LookUp(DataSource, Title=TxtUserName.Text And Password=TxtPassword.Text), Navigate('Screen2'), UpdateContext({ShowForgetMessage: true})))
I am not getting any red error lines. Instead I am getting two App Checker errors:
Error 1: Invalid number of argument: received 3, expecting 1
Error 2: Invalid number of argument: received 1, expecting 2 or more