bodylojohn
Registered User.
- Local time
- Today, 10:58
- Joined
- Dec 28, 2005
- Messages
- 205
Hello,
I have a table called tblELEMENT, consisting of ID, Element and sort
The elements must be in a specific order. There for I have the field "sort"
When I insert an Element between sort value 122 and 123 I want the new element to get the sort value 123 and everything that comes after 123 I want to add the sort value by 1. 123 becomes 124, etc.
Do you guys have an idea to go about this?
Thanks in advance!
I have a table called tblELEMENT, consisting of ID, Element and sort
The elements must be in a specific order. There for I have the field "sort"
When I insert an Element between sort value 122 and 123 I want the new element to get the sort value 123 and everything that comes after 123 I want to add the sort value by 1. 123 becomes 124, etc.
Do you guys have an idea to go about this?
Thanks in advance!