Hi,
the following code will be executed when I press on a button. It simply copies the content of two inputfields into the Sharepoint List.
It worked pretty well, until now it suddenly always duplicates the record. But I only want the the pair to be saved once into the Sharepoint List --> only one record is needed.. I hope someone can help with this or know what is my mistake:
If(
IsEmpty(Filter(tblCutShelf; ShelfPlaces = txtShelfNo.Text));
Patch(
tblCutShelf;
Defaults(tblCutShelf);
{
Titel: txtWarehouse2.Text;
ShelfPlaces: txtShelfNo.Text
}
))
Thank you very much in advance.
Best.