Hi everyone:
I've been developing an app that creates a secuential number depending on the region-year-casetype-seqnum for example Car2019Ley121-002. This sequential number is form in the text property of the label and is store at the Submit buttom. The problem is that, at testing, I had duplicity of the same number under the same conditions. If two employees under the same conditions (same region, same case type,etc ) consult the next number to be, it could happen that at the time to save the info, they have assign the same number in the sequence. Can I lock the SQL table before the submition to avoid duplicity? I need to assign a temporary number before writing at the SQL table?
Any help I will appreciate.
veronica