<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Deleting Duplicate Records in FileMaker</title>
	<atom:link href="http://sixfriedrice.com/wp/deleting-duplicate-records-in-filemaker/feed/" rel="self" type="application/rss+xml" />
	<link>http://sixfriedrice.com/wp/deleting-duplicate-records-in-filemaker/</link>
	<description>smart business solutions</description>
	<lastBuildDate>Sun, 05 Sep 2010 17:37:44 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Atif Khan</title>
		<link>http://sixfriedrice.com/wp/deleting-duplicate-records-in-filemaker/comment-page-1/#comment-1922</link>
		<dc:creator>Atif Khan</dc:creator>
		<pubDate>Fri, 19 Mar 2010 19:37:54 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/deleting-duplicate-records-in-filemaker/#comment-1922</guid>
		<description>I created this script and it worked fine. $NAME will copy the value for which I am looking a duplicate record. Sort the records first and run this script.

I don’t know how to copy the script form FileMaker to here so this is just my typing here.

Show all records
Sort Records
Go to First Record
Set Variable $Name=cFirstNameLastName (assuming I am checking on this field)
Go to Next Record– to match the $name
Loop
IF( cFirstNameLastName=$NAME
DELETE RECORD — If it is same as previous record delete it
ELSE
Set Variable $Name=cFirstNameLastName –if not reset the variable to current records value
GO to Next Recrd (next, exit after last)
End if

END LOOP</description>
		<content:encoded><![CDATA[<p>I created this script and it worked fine. $NAME will copy the value for which I am looking a duplicate record. Sort the records first and run this script.</p>
<p>I don’t know how to copy the script form FileMaker to here so this is just my typing here.</p>
<p>Show all records<br />
Sort Records<br />
Go to First Record<br />
Set Variable $Name=cFirstNameLastName (assuming I am checking on this field)<br />
Go to Next Record– to match the $name<br />
Loop<br />
IF( cFirstNameLastName=$NAME<br />
DELETE RECORD — If it is same as previous record delete it<br />
ELSE<br />
Set Variable $Name=cFirstNameLastName –if not reset the variable to current records value<br />
GO to Next Recrd (next, exit after last)<br />
End if</p>
<p>END LOOP</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Atif Khan</title>
		<link>http://sixfriedrice.com/wp/deleting-duplicate-records-in-filemaker/comment-page-1/#comment-1921</link>
		<dc:creator>Atif Khan</dc:creator>
		<pubDate>Fri, 19 Mar 2010 19:35:54 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/deleting-duplicate-records-in-filemaker/#comment-1921</guid>
		<description>I created this script and it worked fine.  $ID will copy the value for which I am looking a duplicate record.  Sort the records first and run this script.

I don&#039;t know how to copy the script form FileMaker to here so this is just my typing here.

Show all records
Sort Records
Go to First Record
Set Variable $Name=cFirstNameLastName (assuming I am checking on this field)
Go to Next Record-- to match the $name 
Loop
  IF( cFirstNameLastName=$NAME
       DELETE RECORD  --- it is same as previous record delete it
  ELSE
       Set Variable $Name=$NAME --if not reset the variable to current records value
    GO to Next Recrd (next, exit after last)
End if

END LOOP</description>
		<content:encoded><![CDATA[<p>I created this script and it worked fine.  $ID will copy the value for which I am looking a duplicate record.  Sort the records first and run this script.</p>
<p>I don&#8217;t know how to copy the script form FileMaker to here so this is just my typing here.</p>
<p>Show all records<br />
Sort Records<br />
Go to First Record<br />
Set Variable $Name=cFirstNameLastName (assuming I am checking on this field)<br />
Go to Next Record&#8211; to match the $name<br />
Loop<br />
  IF( cFirstNameLastName=$NAME<br />
       DELETE RECORD  &#8212; it is same as previous record delete it<br />
  ELSE<br />
       Set Variable $Name=$NAME &#8211;if not reset the variable to current records value<br />
    GO to Next Recrd (next, exit after last)<br />
End if</p>
<p>END LOOP</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wayne</title>
		<link>http://sixfriedrice.com/wp/deleting-duplicate-records-in-filemaker/comment-page-1/#comment-1914</link>
		<dc:creator>Wayne</dc:creator>
		<pubDate>Wed, 10 Mar 2010 16:45:33 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/deleting-duplicate-records-in-filemaker/#comment-1914</guid>
		<description>I&#039;m self taught using FM9 and am trying to remove dupes as indicated. Am I right in assuming that the duplicate table populates automatically from the record list once the relationships have been defined, or do I have to do something else?

Thank you.</description>
		<content:encoded><![CDATA[<p>I&#8217;m self taught using FM9 and am trying to remove dupes as indicated. Am I right in assuming that the duplicate table populates automatically from the record list once the relationships have been defined, or do I have to do something else?</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://sixfriedrice.com/wp/deleting-duplicate-records-in-filemaker/comment-page-1/#comment-1888</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Sat, 16 Jan 2010 22:29:01 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/deleting-duplicate-records-in-filemaker/#comment-1888</guid>
		<description>If two field records are blank, the comparison does not work and the records are not deleted.  What should I do?</description>
		<content:encoded><![CDATA[<p>If two field records are blank, the comparison does not work and the records are not deleted.  What should I do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Mansel-Pleydell</title>
		<link>http://sixfriedrice.com/wp/deleting-duplicate-records-in-filemaker/comment-page-1/#comment-1874</link>
		<dc:creator>John Mansel-Pleydell</dc:creator>
		<pubDate>Tue, 22 Dec 2009 17:34:09 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/deleting-duplicate-records-in-filemaker/#comment-1874</guid>
		<description>Awesome! many would say the holy Grail of filemaker to be able to remove duplicate records! Worked like a charm.</description>
		<content:encoded><![CDATA[<p>Awesome! many would say the holy Grail of filemaker to be able to remove duplicate records! Worked like a charm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Lincicome</title>
		<link>http://sixfriedrice.com/wp/deleting-duplicate-records-in-filemaker/comment-page-1/#comment-1774</link>
		<dc:creator>Kevin Lincicome</dc:creator>
		<pubDate>Tue, 05 May 2009 21:43:58 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/deleting-duplicate-records-in-filemaker/#comment-1774</guid>
		<description>Relationship does not appear above, it should read;
&quot;or is the relationship  Old Customer::ID = Current Customer::ID correct?&quot;</description>
		<content:encoded><![CDATA[<p>Relationship does not appear above, it should read;<br />
&#8220;or is the relationship  Old Customer::ID = Current Customer::ID correct?&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Lincicome</title>
		<link>http://sixfriedrice.com/wp/deleting-duplicate-records-in-filemaker/comment-page-1/#comment-1773</link>
		<dc:creator>Kevin Lincicome</dc:creator>
		<pubDate>Tue, 05 May 2009 21:40:37 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/deleting-duplicate-records-in-filemaker/#comment-1773</guid>
		<description>In my DB I have a list of names/ID&#039;s in one table, let&#039;s call this &quot;Old Customers&quot;.  I then have a different table with another set of names/ID&#039;s, I call this &quot;Current Customers&quot;. I want to email an offer to all &quot;Old Customers&quot; as long as they are not Current Customers.  How can I delete from &quot;Old Customers&quot; anyone that is also a &quot;Current Customer&quot;? 
This script looks like it should work, but seems to delete the entire list of &quot;Old Customers&quot;.  Should there be a 3rd table &quot;Duplicate Customers&quot; or is the relationship Old Customer::ID = Current Customer::ID correct?
Sorry... I have been trying to wrap by brain around this and may be confused on something quite simple!
Thanks for any help.</description>
		<content:encoded><![CDATA[<p>In my DB I have a list of names/ID&#8217;s in one table, let&#8217;s call this &#8220;Old Customers&#8221;.  I then have a different table with another set of names/ID&#8217;s, I call this &#8220;Current Customers&#8221;. I want to email an offer to all &#8220;Old Customers&#8221; as long as they are not Current Customers.  How can I delete from &#8220;Old Customers&#8221; anyone that is also a &#8220;Current Customer&#8221;?<br />
This script looks like it should work, but seems to delete the entire list of &#8220;Old Customers&#8221;.  Should there be a 3rd table &#8220;Duplicate Customers&#8221; or is the relationship Old Customer::ID = Current Customer::ID correct?<br />
Sorry&#8230; I have been trying to wrap by brain around this and may be confused on something quite simple!<br />
Thanks for any help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://sixfriedrice.com/wp/deleting-duplicate-records-in-filemaker/comment-page-1/#comment-1737</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Sat, 21 Mar 2009 01:59:35 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/deleting-duplicate-records-in-filemaker/#comment-1737</guid>
		<description>If you are unsure about running a loop on a large DB you could also export all data into Excel and use remove duplicate filter.  

Google:  excel remove duplicates</description>
		<content:encoded><![CDATA[<p>If you are unsure about running a loop on a large DB you could also export all data into Excel and use remove duplicate filter.  </p>
<p>Google:  excel remove duplicates</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DaveMill</title>
		<link>http://sixfriedrice.com/wp/deleting-duplicate-records-in-filemaker/comment-page-1/#comment-1375</link>
		<dc:creator>DaveMill</dc:creator>
		<pubDate>Sun, 23 Nov 2008 21:52:27 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/deleting-duplicate-records-in-filemaker/#comment-1375</guid>
		<description>Hi, all,

I&#039;ve been playing around with the built-in ! operator in find mode, which finds all records with non-unique values in a field. 

If I create a calculation field to concatenate multiple fields, I can use the ! operator to find non-unique values in multiple fields. 

And since my databases (and I suspect those of many of you) are so complex, I don&#039;t want to let a script automatically delete first, last or any other  duplicate value. I need to make that decision myself.

So my deduplicate solution is to use the ! operator, sort the results, then click a check box field to identify records I want to delete. This works great for me.

Later!</description>
		<content:encoded><![CDATA[<p>Hi, all,</p>
<p>I&#8217;ve been playing around with the built-in ! operator in find mode, which finds all records with non-unique values in a field. </p>
<p>If I create a calculation field to concatenate multiple fields, I can use the ! operator to find non-unique values in multiple fields. </p>
<p>And since my databases (and I suspect those of many of you) are so complex, I don&#8217;t want to let a script automatically delete first, last or any other  duplicate value. I need to make that decision myself.</p>
<p>So my deduplicate solution is to use the ! operator, sort the results, then click a check box field to identify records I want to delete. This works great for me.</p>
<p>Later!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Søren Dyhr</title>
		<link>http://sixfriedrice.com/wp/deleting-duplicate-records-in-filemaker/comment-page-1/#comment-1027</link>
		<dc:creator>Søren Dyhr</dc:creator>
		<pubDate>Mon, 05 May 2008 18:24:06 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/deleting-duplicate-records-in-filemaker/#comment-1027</guid>
		<description>I&#039;ve just learned that the approach showed here, not is most potent algoritm one could come up with, using the scriptmaker steps availiable.

Following script using a tecnique introdced to me by Agnès Barouh of Tic Tac:

[code]Sort Records [ Speci?ed Sort Order: Contacts::FistName; ascending 
Contacts::LastName; ascending 
Contacts::ZipCode; ascending ] 
[ Restore; No dialog ] 
Replace Field Contents [ Contacts::gStrainedList; Replace with calculation: Case( 
    Get( RecordNumber ) ? 1 and Contacts::FistName = $t and 
    Contacts::LastName = $u and Contacts::ZipCode = $w; 
    Let( $theIDs = $theIDs &amp; ¶ &amp; Contacts::RecordID; &quot;&quot; ); 
    Let( 
        [ 
            $t = Contacts::FistName; 
            $u = Contacts::LastName; 
            $w = Contacts::ZipCode 
        ]; 
        &quot;&quot; 
    ) 
) ] 
[ No dialog ] 
Set Field [ Contacts::gStrainedList; $theIDs ] 
Go to Related Record [ From table: “Contacts 2”; Using layout: “Contacts” (Contacts) ] [ Show only related records ] 
Delete All Records [ No dialog ] 
[/code]

--sd</description>
		<content:encoded><![CDATA[<p>I&#8217;ve just learned that the approach showed here, not is most potent algoritm one could come up with, using the scriptmaker steps availiable.</p>
<p>Following script using a tecnique introdced to me by Agnès Barouh of Tic Tac:</p>
<p>[code]Sort Records [ Speci?ed Sort Order: Contacts::FistName; ascending<br />
Contacts::LastName; ascending<br />
Contacts::ZipCode; ascending ]<br />
[ Restore; No dialog ]<br />
Replace Field Contents [ Contacts::gStrainedList; Replace with calculation: Case(<br />
    Get( RecordNumber ) ? 1 and Contacts::FistName = $t and<br />
    Contacts::LastName = $u and Contacts::ZipCode = $w;<br />
    Let( $theIDs = $theIDs &amp; ¶ &amp; Contacts::RecordID; "" );<br />
    Let(<br />
        [<br />
            $t = Contacts::FistName;<br />
            $u = Contacts::LastName;<br />
            $w = Contacts::ZipCode<br />
        ];<br />
        ""<br />
    )<br />
) ]<br />
[ No dialog ]<br />
Set Field [ Contacts::gStrainedList; $theIDs ]<br />
Go to Related Record [ From table: “Contacts 2”; Using layout: “Contacts” (Contacts) ] [ Show only related records ]<br />
Delete All Records [ No dialog ]<br />
[/code]</p>
<p>&#8211;sd</p>
]]></content:encoded>
	</item>
</channel>
</rss>
