This was working, up until a few days ago. The entries in the table recently exceeded 4k but, since I'm not getting any delegation warnings anywhere, I thought I'd be okay. I'm using dataverse to store my data. Here's the code in question.
If(
DataCardValue25.Text in HarvestTickets.HVTTicketNumber,
UpdateContext({contVis: true}),
SubmitForm(Form3_1) && Navigate('Harvest Ticket')
);
The DataCardValue25.Text, when submitted, goes to the HVTTicketNumber column. What this code is supposed to be doing is checking if the entered ticket number (they're all supposed to be unique values) matches a record in the table. If it does, it displays a pop up to the user letting them know that if they proceed they'll overwrite preexisting data. They can then decide if they want to proceed. And then the else statement just submits the record since it's not a duplicate.
Like I said, this WAS working a week or two ago when the data in the table was lower. Now it completely bypasses the If() statement conditions and just goes ahead and submits it. This is resulting in a few instances of duplicate data.
Any ideas would be greatly appreciated. Thank you!