Information générale
Catégorie:
Codage, syntaxe et commandes
Paige,
You can do something like...
SELECT LocalCursor
GO TOP
FOR i = 1 TO thisform.listbox.listcount
REPLACE NEXT MyField WITH thisform.listbox.list(i,1)
SKIP
ENDFOR
HTH,
Phil
Hello All,
I'm using a ListBox with MoverBars set to True so the user can resequence the contents of the ListBox. This works fine. I also want create a set of records from the contents of the ListBox in the order that is displayed. That order is controled by the ListIndex as opposed to the ListItemID. Question how do I retrieve the items in the list box in the order of the listIndex? I Used "AddListItem" to populate the ListBox from a table. How do I access the ListBox data to "replace" it into a table in the new sequence? TIA.
Regards,
Paige
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