<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.melissadata.com/index.php?action=history&amp;feed=atom&amp;title=MatchUp_Object%3AIncremental%3AMatch_Key</id>
	<title>MatchUp Object:Incremental:Match Key - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.melissadata.com/index.php?action=history&amp;feed=atom&amp;title=MatchUp_Object%3AIncremental%3AMatch_Key"/>
	<link rel="alternate" type="text/html" href="http://wiki.melissadata.com/index.php?title=MatchUp_Object:Incremental:Match_Key&amp;action=history"/>
	<updated>2026-05-01T17:32:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://wiki.melissadata.com/index.php?title=MatchUp_Object:Incremental:Match_Key&amp;diff=9540&amp;oldid=prev</id>
		<title>Admin at 00:49, 8 August 2015</title>
		<link rel="alternate" type="text/html" href="http://wiki.melissadata.com/index.php?title=MatchUp_Object:Incremental:Match_Key&amp;diff=9540&amp;oldid=prev"/>
		<updated>2015-08-08T00:49:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:49, 8 August 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l73&quot;&gt;Line 73:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 73:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Syntax=mdMU-&amp;gt;SetKey(char)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Syntax=mdMU-&amp;gt;SetKey(char)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|C=mdMUIncrementalSetKey(mdMU, char)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|C=mdMUIncrementalSetKey(mdMU, char)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|.Net=mdMU.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Key &lt;/del&gt;= string&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|.Net=mdMU.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SetKey &lt;/ins&gt;= string&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>http://wiki.melissadata.com/index.php?title=MatchUp_Object:Incremental:Match_Key&amp;diff=9429&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;{{MatchUpObjectIncrementalNav |FunctionsCollapse= }}  {{CustomTOC}}  The following functions take the real data being compared and construct a match key according to the mappi...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.melissadata.com/index.php?title=MatchUp_Object:Incremental:Match_Key&amp;diff=9429&amp;oldid=prev"/>
		<updated>2015-07-29T22:06:47Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{MatchUpObjectIncrementalNav |FunctionsCollapse= }}  {{CustomTOC}}  The following functions take the real data being compared and construct a match key according to the mappi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{MatchUpObjectIncrementalNav&lt;br /&gt;
|FunctionsCollapse=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{CustomTOC}}&lt;br /&gt;
&lt;br /&gt;
The following functions take the real data being compared and construct a match key&lt;br /&gt;
according to the mappings defined with the above functions and the matchcode specified&lt;br /&gt;
when the Incremental deduper was initialized.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==ClearFields==&lt;br /&gt;
This function clears all values from previous calls to the [[#AddField|AddField]] function.&lt;br /&gt;
&lt;br /&gt;
To ensure that no extraneous information carried over from one record to the next, call this function after calling the [[#BuildKey|BuildKey]] function or before the first call to the [[#AddField|AddField]] function.&lt;br /&gt;
&lt;br /&gt;
{{ Object Syntax&lt;br /&gt;
|Syntax=mdMU-&amp;gt;ClearFields()&lt;br /&gt;
|C=mdMUIncrementalClearFields(mdMU)&lt;br /&gt;
|.Net=mdMU.ClearFields&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==AddField==&lt;br /&gt;
This function passes a component of list data to the interface prior to calling the [[#BuildKey|BuildKey]] function.&lt;br /&gt;
&lt;br /&gt;
Fields must be passed to this function in the same order that the corresponding data types were mapped using the [[MatchUp Object:Incremental:Mapping#AddMapping|AddMapping]] function.&lt;br /&gt;
&lt;br /&gt;
The following example expands on the [[MatchUp Object:Incremental:Mapping#AddMapping|AddMapping]] example. The matchcode uses five-digit ZIP codes, the street addresses, last and first names, in that order. The database contains a single “City/ST/ZIP” and a single full name field.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdMU-&amp;gt;AddField(&amp;quot;Rancho Santa Margarita, CA 92688&amp;quot;)&lt;br /&gt;
mdMU-&amp;gt;AddField(&amp;quot;Raymond F. Melissa&amp;quot;)&lt;br /&gt;
mdMU-&amp;gt;AddField(&amp;quot;Raymond F. Melissa&amp;quot;)&lt;br /&gt;
mdMU-&amp;gt;AddField(&amp;quot;22382 Avenida Empresa&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The deduper would use only the ZIP Code from the first [[#AddField|AddField]] mapping, the last name from the second mapping, the first name from the third, etc.&lt;br /&gt;
&lt;br /&gt;
{{ Object Syntax&lt;br /&gt;
|Syntax=mdMU-&amp;gt;AddField(char)&lt;br /&gt;
|C=mdMUIncrementalAddField(mdMU, char)&lt;br /&gt;
|.Net=mdMU.AddField(string)&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==BuildKey==&lt;br /&gt;
This function takes the information passed via calls to the [[#AddField|AddField]] function and, using the mapping defined by the [[MatchUp Object:Incremental:Mapping#AddMapping|AddMapping]] function and the pattern defined by the matchcode being used, builds a match key.&lt;br /&gt;
&lt;br /&gt;
A match key is a character string built according to a pattern defined by the current matchcode, consisting only of enough information to determine if the current record is unique or has a duplicate within the key file.&lt;br /&gt;
&lt;br /&gt;
For example, let’s assume the matchcode called for a five-digit ZIP Code, first ten characters of a last name, a street number and the first ten characters of a street name. The current record is for Raymond F. Melissa at 22382 Avenida Empresa in the 92688 ZIP Code. The match key would be:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
92688MELISSA RAYMOND 22382EMPRESA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Because “Empresa” is only seven characters, the key would be padded with three spaces at the end.&lt;br /&gt;
&lt;br /&gt;
{{ Object Syntax&lt;br /&gt;
|Syntax=mdMU-&amp;gt;BuildKey()&lt;br /&gt;
|C=mdMUIncrementalBuildKey(mdMU)&lt;br /&gt;
|.Net=mdMU.BuildKey&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SetKey==&lt;br /&gt;
This function accepts a match key before calling the [[MatchUp Object:Incremental:Comparison#MatchRecord|MatchRecord]] function.&lt;br /&gt;
&lt;br /&gt;
The [[#BuildKey|BuildKey]] function creates a key from input data. If, however, the match keys are already stored in the source database, use this function to pass the keys to the deduper before calling [[MatchUp Object:Incremental:Comparison#MatchRecord|MatchRecord]].&lt;br /&gt;
&lt;br /&gt;
{{ Object Syntax&lt;br /&gt;
|Syntax=mdMU-&amp;gt;SetKey(char)&lt;br /&gt;
|C=mdMUIncrementalSetKey(mdMU, char)&lt;br /&gt;
|.Net=mdMU.Key = string&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SetUserInfo==&lt;br /&gt;
This function accepts a character value that uniquely identifies each record in a set of data. The character value passed to this function must be unique for every record. This enables you to associate the match key in the key file to the corresponding record in the database.&lt;br /&gt;
&lt;br /&gt;
{{ Object Syntax&lt;br /&gt;
|Syntax=mdMU-&amp;gt;SetUserInfo(char)&lt;br /&gt;
|C=mdMUIncrementalSetUserInfo(mdMU, char)&lt;br /&gt;
|.Net=mdMU.SetUserInfo = string&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:MatchUp Object]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>