Is it possible to carry out an autoincrementable code without repeating in another form at the same time?

0

I have a form that shows a code, the idea was to increase in the BD with respect to the records, if I have 10 records I would leave 11, my error is what would happen if that form is used by several people and in some cases by Saying it like that goes the same code?

Example: A11

I've been searching but it does not solve my doubt, just one but it was to do a lot of things in the bd, which I'm just looking for something simple, that I could use to solve this dilemma? Is it possible what I say?

Pdta: It is not a primary key. I am using the code as an alert after registering but I want to know if it is possible what I said before: D No random.

    
asked by franco vargas 09.07.2018 в 17:47
source

0 answers