<?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 Sep 2015 16:13:00 Z</lastBuildDate><pubDate>3 Sep 2015 21:24:00 Z</pubDate><description>I have a Barcode field that is a unique key. It's in a file called Test. If I try to add duplicate Barcodes via inline editing in the control center or by HAdd()/HModify() I get a duplicate key warning. But when I add duplicate Barcodes via an sql query I do not get a warning and the duplicate record are entered into the file.&#13;
&#13;
Is this supposed to happen? Shouldn't the sql code fail on account of the duplicate keys?</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53858-wd20-unique-key/read.awp</link><title>[WD20] Unique Key</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/53858-wd20-unique-key-53883/read.awp</comments><pubDate>4 Sep 2015 16:13:00 Z</pubDate><description>oops</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53858-wd20-unique-key-53883/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53858-wd20-unique-key-53883/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53858-wd20-unique-key/read.awp">[WD20] Unique Key</source><title>Re: [WD20] Unique Key</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53858-wd20-unique-key-53882/read.awp</comments><pubDate>4 Sep 2015 16:07:00 Z</pubDate><description>Thanks Fabrice. Unfortunately I have to use queries when dealing with multiple records as it is much faster than looping throuh …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53858-wd20-unique-key-53882/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53858-wd20-unique-key-53882/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53858-wd20-unique-key/read.awp">[WD20] Unique Key</source><title>Re: [WD20] Unique Key</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53858-wd20-unique-key-53869/read.awp</comments><pubDate>4 Sep 2015 11:53:00 Z</pubDate><description>Hi Curtis,&#13;
&#13;
Your question makes me think that you did not use the hcheckduplicates option in your hexecutequery. You should re…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53858-wd20-unique-key-53869/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53858-wd20-unique-key-53869/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53858-wd20-unique-key/read.awp">[WD20] Unique Key</source><title>Re: [WD20] Unique Key</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53858-wd20-unique-key-53863/read.awp</comments><pubDate>4 Sep 2015 06:55:00 Z</pubDate><description>Hi, you have to take in account that empty barcode fields are "key values" as well and two empty barcode fields will trigger a d…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53858-wd20-unique-key-53863/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53858-wd20-unique-key-53863/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53858-wd20-unique-key/read.awp">[WD20] Unique Key</source><title>Re: [WD20] Unique Key</title></item></channel></rss>
