<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>22 Jan 2016 07:45:00 Z</lastBuildDate><pubDate>21 Jan 2016 06:19:00 Z</pubDate><description>Hi&#13;
We've just imported a heap of location records from an old DBase file into HFSQL &amp; there are a lot of duplicates. I thought the easiest way to do this would be a quick SQL script in the control centre. The following works &amp; returns the records which should be deleted SELECT * FROM LOCATION WHERE LocationId NOT IN (SELECT MIN(LocationID) FROM LOCATION GROUP BY POSTCODE,DESCRIPTION,LATITUDE,LONGITUDE) However if I replace SELECT * with DELETE I get an error "No analysis opened: LOCATION file not described". Doesn't make any sense to me as it's all in the HF Control Centre anyway! I can easily write a little routine to do the de-duplication another way but what I thought would be a 5 minute job has certainly not turned out that way.&#13;
Any thoughts?&#13;
&#13;
Thanks&#13;
&#13;
David</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55962-duplicating-records/read.awp</link><title>De-Duplicating Records</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/55962-duplicating-records-55985/read.awp</comments><pubDate>22 Jan 2016 07:45:00 Z</pubDate><description>Without testing or checking, it sounds like the HFSQL DELETE function can not parse sub-selects. In the old days, I would select…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55962-duplicating-records-55985/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55962-duplicating-records-55985/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/55962-duplicating-records/read.awp">De-Duplicating Records</source><title>Re: De-Duplicating Records</title></item></channel></rss>
