Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Yeah, that's the most brute way I could think of.
Please share your your psuedo-code off
the top of your head for the MoveUp.click() method....
>>When I am adding records to my grid, sometimes I want to change the order from the way they were entered (i.e. line items on a purchase order).
>
>If you want the natural record number to change, youc ould probably use INSERT (non-SQL) but that requires exclusive use of table and is not multiuser.
>
>You could also try using a list box with the Mover Bars set on.
>
>To do it with a grid, I suggest creating an order field, and then the move up, move down, just swaps the value of the field with the record above it (if you want to move up) or the record below it (if you want to move down).
>
>Just SET ORDER TO that field and refersh. Walla.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement