<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>27 Dec 2019 16:12:53 Z</lastBuildDate><pubDate>23 Dec 2019 18:03:03 Z</pubDate><description>hello folks&#13;
&#13;
please consider this very small piece of code&#13;
[code:wl]&#13;
HImportXLS(Shoes_Tag, My_Excel_File, 1, "", hImpTestDuplicates+hImpIgnoreFirstLine)&#13;
IF ErrorOccurred THEN&#13;
	Error(HErrorInfo())&#13;
END&#13;
[/code]&#13;
&#13;
and the structure os the related table (I don't know if can be useful, anyway here it is)&#13;
&#13;
&#13;
https://hostimage.windev.io/images/Structure_1d33390436a821ad2b6f1efeb7b570c1.jpg&#13;
&#13;
&#13;
my problem is: every time the code above is launched, Windev add ALL the rows of the Excel sheet without any regard to the Unique Key (DataNumero, the last row in the picture) defined inthe table structure.&#13;
&#13;
1) the file Excel and the .FIC table has the same structure&#13;
2) at every run I don't receive any error message and the table is re-re-re-re-filled with ALL the Excel rows&#13;
3) I think that, when importing data, Windev has to do ALL the "dirty work", automatic fillng the keys and checking the index&#13;
&#13;
Where am I doing wrong?</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67514-import-data-from-excel/read.awp</link><title>import data from Excel</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>olivier.harrau</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67514-import-data-from-excel-67517/read.awp</comments><pubDate>27 Dec 2019 16:12:53 Z</pubDate><description>Hi VEGEboss,&#13;
&#13;
"hImpTestDuplicates" will only avoid to have duplicates if you use it with "hCopyAutoId" (hCopyAutoId+hImpTestDu…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67514-import-data-from-excel-67517/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67514-import-data-from-excel-67517/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/67514-import-data-from-excel/read.awp">import data from Excel</source><title>Re: import data from Excel</title></item></channel></rss>
