Welcome Guest, Not a member yet? Register   Sign In
Drag and Drop...trying to make it happen
#3

[eluser]NateL[/eluser]
[quote author="jedd" date="1259900447"]Noice.

What schema are you using to manage sequence within your DB?[/quote]

Well, not even that has been determined yet.

My first thought is ID, Name, Position

ID is, of course, auto-incrementing
Name is the person's name
Position is the order which they will display.

The tricky part I'm trying to avoid is if I swap the first two (John's position goes from "1" to "2") - how will i tell Julie's position to go from "2" to "1" ?

If that doesn't happen, then I have two items at position "2" - which will cause some ugly conflicts.


Messages In This Thread
Drag and Drop...trying to make it happen - by El Forum - 12-03-2009, 04:05 PM
Drag and Drop...trying to make it happen - by El Forum - 12-03-2009, 04:20 PM
Drag and Drop...trying to make it happen - by El Forum - 12-03-2009, 04:23 PM
Drag and Drop...trying to make it happen - by El Forum - 12-03-2009, 04:49 PM
Drag and Drop...trying to make it happen - by El Forum - 12-04-2009, 01:08 AM
Drag and Drop...trying to make it happen - by El Forum - 12-04-2009, 12:17 PM
Drag and Drop...trying to make it happen - by El Forum - 12-04-2009, 01:40 PM
Drag and Drop...trying to make it happen - by El Forum - 12-04-2009, 08:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB