i would like you to help me with this problem :

i would like you to help me with this problem :
Hi , @rosee08
You can try to use this code:
Set(foundUserRecord, LookUp ( Users, Username = TextInput1.Text && Password = TextInput1.Text )); If(!IsBlank(foundUserRecord), If( foundUserRecord.Level.Value = "Admin", Navigate(Dashboard), If( foundUserRecord.Level.Value = "Industrial Sv", Navigate(Dashboard), If( foundUserRecord.Level.Value = "Academic Sv", Navigate(Dashboard), Navigate('Student Details') ) ) ); Notify("Invalid username or password"))
As the foundUserRecord.Level is a records , you need to use the record.fieldName to get the data in a record.
If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance!
Best Regards,
Yueyun Zhang