Hello.
I've set up the following code on the "OnSelect" property of my submit new form. I have my data linked to an excel file.
If(
EditForm1_1.Mode = FormMode.New And CountRows(
Filter(
Tabell1,
Upper(Artikkelnummer) = Upper(DataCardValue8_1.Text)
)
) = 0,
SubmitForm(EditForm1_1),
Notify(
"En artikkel med dette artikkelnummeret finnes allerede.",
NotificationType.Error,
5000))
In the excel file I have EPP002908SP on one row. But when I tried addon a new one with EPP002908SP-B I got the error saying it's already registered in the excel file.
But if I have one named Test, and try adding Test-B, I'm allowed to submit the new form.
Any tips? I thought the new EPP002908SP-B was unique and ok to post to the excel file?
Please let me know if I need to give you more information about my app.