bentheimmigrant
Lost & confused
- Local time
- Today, 19:17
- Joined
- Aug 21, 2015
- Messages
- 60
Couldn't decide if this belonged in here, or queries, or vba...
I've got a form to add an item to a sequence. The user can pick the position in the sequence. However, if there is already an item at that point in the sequence, it needs to be shunted along.
The data entry form has a bound textbox which automatically gets populated with the position in the sequence. I'm writing a routine to go through and add 1 to each item in the sequence, starting with the one to be shunted.
However, what I'm not clear on is how new records are stored. If I'm adding a new record with position n, and I go to change the existing position n to n+1, will I end up with two n+1's (i.e., old item and my new item)? Or will it not matter, since I've got that value populated in the bound textbox, and so even if I accidentally change it to n+1, it will be returned to n when I close the form?
I hope that makes sense. TIA.
I've got a form to add an item to a sequence. The user can pick the position in the sequence. However, if there is already an item at that point in the sequence, it needs to be shunted along.
The data entry form has a bound textbox which automatically gets populated with the position in the sequence. I'm writing a routine to go through and add 1 to each item in the sequence, starting with the one to be shunted.
However, what I'm not clear on is how new records are stored. If I'm adding a new record with position n, and I go to change the existing position n to n+1, will I end up with two n+1's (i.e., old item and my new item)? Or will it not matter, since I've got that value populated in the bound textbox, and so even if I accidentally change it to n+1, it will be returned to n when I close the form?
I hope that makes sense. TIA.