<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>4 Jul 2016 12:42:10 Z</lastBuildDate><pubDate>1 Jul 2016 13:26:25 Z</pubDate><description>I have a ListView prefilled with values with ListAdd() and gLink() like this:&#13;
&#13;
[code:wl]&#13;
ListAdd(LSV_ziel,"Immer"+gLink("immer"),IMG_Lieferant)&#13;
[/code]&#13;
&#13;
When I try to list all the selected values like this&#13;
&#13;
[code:wl]&#13;
	FOR EACH LSV_ziel &#13;
		i++&#13;
		IF LSV_ziel[i]..Selected THEN&#13;
			Trace(LSV_ziel[i])&#13;
		END&#13;
	END&#13;
[/code]&#13;
&#13;
I get this error:&#13;
&#13;
http://hostimage.windev.io/images/HFSQL_Error_7d476ec5480c4b28530c217e9b98d5ae.png&#13;
&#13;
HFSQL security mechanism was triggered while browsing the '2' file on the '' item. The &lt;2&gt; data source ist not initialized.&#13;
&#13;
I certainly don't have a '2' file and for shure there are no empty items.&#13;
The LSV is not linked to any file. I get this error right after FOR EACH LSV_ziel.&#13;
&#13;
Any ideas?&#13;
&#13;
TIA &#13;
Sebastian&#13;
&#13;
--&#13;
http://arnoldconsult.de &#13;
WinDev 20 with Oracle, WinDevMobile Android Apps and Motorola Windows CE Mobile Barcode Scanners, Python 3 with Oracle and MySQL</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58429-hfsql-error-prefilled-listview-for-each/read.awp</link><title>HFSQL Error in prefilled Listview FOR EACH</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>Sebastian Arnold</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58429-hfsql-error-prefilled-listview-for-each-58490/read.awp</comments><pubDate>4 Jul 2016 12:42:10 Z</pubDate><description>I can answer this by myself.&#13;
&#13;
This error will always be displayed if you try to loop through a Listview with FOR EACH.&#13;
&#13;
Inst…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58429-hfsql-error-prefilled-listview-for-each-58490/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58429-hfsql-error-prefilled-listview-for-each-58490/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58429-hfsql-error-prefilled-listview-for-each/read.awp">HFSQL Error in prefilled Listview FOR EACH</source><title>Re: HFSQL Error in prefilled Listview FOR EACH</title></item></channel></rss>
