Hi guys, i have some troubles with my database, i really need your help.
Let say i have a table with 10 records in it with an autonumber from 1 to 10. Now i want to insert a new record and i want make that record the second line.
So the point is increase record from 10 to 11, 9 to 10... and so on.. cause i don't want duplicate.
I already done this with VB6. It works however for some reason sometimes it doesn't.
My question is "Is there any way to do it automatically with Access". Increase auto from the insert record.
yes, it's a text field. The autonumber works however the new insert record will be 11 in this case (after the 10 ligne already there). This is not what i want, i want that the new record will be appear as 2 and the existing records from 2 will increase to 3 + and so on.
I am able to do it with VB6 without the autonumber of access, but it's not stable.
Then to autonumber will increase from the last record.
This is not what i want. i want to the new insert ligne have the number 2. and the existing record increase one by one. Hope it's clear enought. Thnaks for your help
It still isn't clear I'm afraid.. after reading that a few times, I think you might mean that you want to add a new record in the "middle" of the existing values, and increment all of the existing ones (eg: [1, 2, 3, 4] would become [1, new, 2+1 =3, 3+1=4, 4+1=5] ).