Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>I want to know how to code, so that I can insert a record to a grid which rowsource from a local view, to the appropiate line I want? say, the grid have 5 records at first, and when I place my cursor on the third record, I insert a new record in between record 2 and record 3?
Well, if you want the record to physically exist there, use INSERT (not teh SQL one), otherwise, create an "Order" field, and sort your grid on that. Once the new record is added, if you tell it where you want it placed, a refresh() will refresh the sort on the grid and your record will be wher eyou want it.
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