Hi all,
I have a listbox with a rowsource linked to a table.
Table: ID, FLDname, FLDplace( 1,2,3,....)
Now, when I choose a record in the listbox, I have 2 buttons. One up, One down. The point is that if I click "UP" that the fldplace changes form 17 to 16 for example, and then requerys.
now, that all works perfectly.. The catch is that I want to move the .listindex also 1 up, cause thats where the moved record is now placed.
Problem is that if i try something like, listindex = listindex + 1 .. it does not work..
Does anyone know how it could work??
And also, everytime i "up" my record, I get a message "the data has been changed".. How can I turn this off?
I have a listbox with a rowsource linked to a table.
Table: ID, FLDname, FLDplace( 1,2,3,....)
Now, when I choose a record in the listbox, I have 2 buttons. One up, One down. The point is that if I click "UP" that the fldplace changes form 17 to 16 for example, and then requerys.
now, that all works perfectly.. The catch is that I want to move the .listindex also 1 up, cause thats where the moved record is now placed.
Problem is that if i try something like, listindex = listindex + 1 .. it does not work..
Does anyone know how it could work??
And also, everytime i "up" my record, I get a message "the data has been changed".. How can I turn this off?