General information
Category:
Coding, syntax & commands
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only