<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>24 Aug 2018 16:50:00 Z</lastBuildDate><pubDate>21 Aug 2018 13:12:00 Z</pubDate><description>Hello all,&#13;
&#13;
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.&#13;
&#13;
FOR EACH SELECTED ROW OF LIST_all&#13;
HReadSeek(VoertuigSoort,Nummer,LIST_all)&#13;
VoertuigSoortGroep1 = VoertuigSoort&#13;
HAdd(VoertuigSoortGroep1)&#13;
HDelete(VoertuigSoort)&#13;
END&#13;
&#13;
ListDisplay(LIST_all)&#13;
ListDisplay(LIST_filter1)</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question/read.awp</link><title>List box question</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question-66734/read.awp</comments><pubDate>24 Aug 2018 16:50:00 Z</pubDate><description>Sorry your right, i mean DW`s solution.</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question-66734/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question-66734/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question/read.awp">List box question</source><title>Re: List box question</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question-66716/read.awp</comments><pubDate>23 Aug 2018 14:49:00 Z</pubDate><description>Hi Sammy,&#13;
&#13;
You probably mean DW's solution or did the FromEnd work?&#13;
Just wondering: is the list a simple list or is it a list…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question-66716/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question-66716/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question/read.awp">List box question</source><title>Re: List box question</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question-66715/read.awp</comments><pubDate>23 Aug 2018 11:41:00 Z</pubDate><description>Piet,&#13;
&#13;
Your first solution works ok, the second post gives the same problem as i had.&#13;
&#13;
Thanks</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question-66715/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question-66715/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question/read.awp">List box question</source><title>Re: List box question</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question-66709/read.awp</comments><pubDate>22 Aug 2018 22:03:00 Z</pubDate><description>Hi Sammy,&#13;
&#13;
I see now that there is no FromEnd for "FOR EACH Selected".&#13;
A very simple solution would be to gather the IDs firs…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question-66709/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question-66709/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question/read.awp">List box question</source><title>Re: List box question</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question-66707/read.awp</comments><pubDate>22 Aug 2018 20:26:00 Z</pubDate><description>Sammy&#13;
&#13;
something like this:&#13;
//Get the count of selected rows nCount is int = TableSelectCount(TABLE_Orders) nRow is int //Mak…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question-66707/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question-66707/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question/read.awp">List box question</source><title>Re: List box question</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question-66706/read.awp</comments><pubDate>22 Aug 2018 18:46:00 Z</pubDate><description>Thanks Piet,&#13;
&#13;
But where can i place ''fromend'' ?&#13;
&#13;
Sammy</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question-66706/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question-66706/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question/read.awp">List box question</source><title>Re: List box question</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question-66694/read.awp</comments><pubDate>21 Aug 2018 20:46:00 Z</pubDate><description>Hi Sammy,&#13;
&#13;
If you delete stuff in a for each loop, you always have to do it in reverse order FOR Each xxx FromEnd, otherwise t…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question-66694/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question-66694/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66691-list-box-question/read.awp">List box question</source><title>Re: List box question</title></item></channel></rss>
