Hello all,
I have a list box filled with a data file, now i want to select one or more items in this list box and delete it from this list box/datafile to another list box/datafile. I use the code below but it is not working ok, most of the time other rows who are not selected converted to the other listbox.
FOR EACH SELECTED ROW OF LIST_all
HReadSeek(VoertuigSoort,Nummer,LIST_all)
VoertuigSoortGroep1 = VoertuigSoort
HAdd(VoertuigSoortGroep1)
HDelete(VoertuigSoort)
END
ListDisplay(LIST_all)
ListDisplay(LIST_filter1)
I have a list box filled with a data file, now i want to select one or more items in this list box and delete it from this list box/datafile to another list box/datafile. I use the code below but it is not working ok, most of the time other rows who are not selected converted to the other listbox.
FOR EACH SELECTED ROW OF LIST_all
HReadSeek(VoertuigSoort,Nummer,LIST_all)
VoertuigSoortGroep1 = VoertuigSoort
HAdd(VoertuigSoortGroep1)
HDelete(VoertuigSoort)
END
ListDisplay(LIST_all)
ListDisplay(LIST_filter1)