<?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: Stored Calculations and FileMaker Plug-ins</title>
	<atom:link href="http://sixfriedrice.com/wp/stored-calcs-and-plug-ins/feed/" rel="self" type="application/rss+xml" />
	<link>http://sixfriedrice.com/wp/stored-calcs-and-plug-ins/</link>
	<description>smart business solutions</description>
	<lastBuildDate>Sun, 29 Jan 2012 19:10:42 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kaj Hjorth</title>
		<link>http://sixfriedrice.com/wp/stored-calcs-and-plug-ins/comment-page-1/#comment-1870</link>
		<dc:creator>Kaj Hjorth</dc:creator>
		<pubDate>Fri, 04 Dec 2009 14:03:33 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/stored-calcs-and-plug-ins/#comment-1870</guid>
		<description>Hi,
just wish to say this was a very good and clearly written article.
Thanks
Kaj Hjorth
(Kaj = a version of Charles in Scandinavia)</description>
		<content:encoded><![CDATA[<p>Hi,<br />
just wish to say this was a very good and clearly written article.<br />
Thanks<br />
Kaj Hjorth<br />
(Kaj = a version of Charles in Scandinavia)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff Coffey</title>
		<link>http://sixfriedrice.com/wp/stored-calcs-and-plug-ins/comment-page-1/#comment-1799</link>
		<dc:creator>Geoff Coffey</dc:creator>
		<pubDate>Wed, 10 Jun 2009 17:10:10 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/stored-calcs-and-plug-ins/#comment-1799</guid>
		<description>Simon:

I&#039;ve never tried this, but it should work:

&lt;ul&gt;
&lt;li&gt;Create a new table as a helper.&lt;/li&gt;
&lt;li&gt;Add fields to this table to represent the &quot;parameters&quot; to your calculation.&lt;/li&gt;
&lt;li&gt;Add a &lt;em&gt;stored&lt;/em&gt; calculation to this table with your calculation formula&lt;/li&gt;
&lt;li&gt;In your script, make a new record in this table, set the parameter fields, fetch the calculated field value to a variable, then delete the record.&lt;/li&gt;
&lt;/ul&gt;

In this way, you &lt;em&gt;should&lt;/em&gt; be able to force the actual calculation to happen on the server side. I can&#039;t guarantee that is what will happen all the time, so you should definitely test various scenarios.

Also, one caveat. If the calculation result is a &lt;em&gt;container value&lt;/em&gt; (like a picture, file, or sound) then you&#039;ll run in to trouble if you delete the helper record before you use the variable. You&#039;ll want to copy the data from the helper record, store it in some field somewhere (or use it, export it, or whatever you need) and then delete the helper record. This is because when you put container data into a variable, FileMaker holds only a reference to the field value in the variable. If the original field goes away, the variable won&#039;t work.

Let me know how it works out.

Geoff</description>
		<content:encoded><![CDATA[<p>Simon:</p>
<p>I&#8217;ve never tried this, but it should work:</p>
<ul>
<li>Create a new table as a helper.</li>
<li>Add fields to this table to represent the &#8220;parameters&#8221; to your calculation.</li>
<li>Add a <em>stored</em> calculation to this table with your calculation formula</li>
<li>In your script, make a new record in this table, set the parameter fields, fetch the calculated field value to a variable, then delete the record.</li>
</ul>
<p>In this way, you <em>should</em> be able to force the actual calculation to happen on the server side. I can&#8217;t guarantee that is what will happen all the time, so you should definitely test various scenarios.</p>
<p>Also, one caveat. If the calculation result is a <em>container value</em> (like a picture, file, or sound) then you&#8217;ll run in to trouble if you delete the helper record before you use the variable. You&#8217;ll want to copy the data from the helper record, store it in some field somewhere (or use it, export it, or whatever you need) and then delete the helper record. This is because when you put container data into a variable, FileMaker holds only a reference to the field value in the variable. If the original field goes away, the variable won&#8217;t work.</p>
<p>Let me know how it works out.</p>
<p>Geoff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://sixfriedrice.com/wp/stored-calcs-and-plug-ins/comment-page-1/#comment-1798</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Wed, 10 Jun 2009 01:15:37 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/stored-calcs-and-plug-ins/#comment-1798</guid>
		<description>Hi, do you know if there is any way to force FM to evaluate a plugin function on the server rather than the client during a script? Cheers</description>
		<content:encoded><![CDATA[<p>Hi, do you know if there is any way to force FM to evaluate a plugin function on the server rather than the client during a script? Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff Coffey</title>
		<link>http://sixfriedrice.com/wp/stored-calcs-and-plug-ins/comment-page-1/#comment-1268</link>
		<dc:creator>Geoff Coffey</dc:creator>
		<pubDate>Sat, 26 Jul 2008 17:20:33 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/stored-calcs-and-plug-ins/#comment-1268</guid>
		<description>@Jason: Unstored calculations are *always* evaluated on the client side, so far as I know. So you will need to put the plug-in on the client machines. You can see &lt;a href=&quot;http://sixfriedrice.com/wp/filemaker-server-autoupdate/&quot; rel=&quot;nofollow&quot;&gt;this article&lt;/a&gt; for help getting plug-ins onto every client.</description>
		<content:encoded><![CDATA[<p>@Jason: Unstored calculations are *always* evaluated on the client side, so far as I know. So you will need to put the plug-in on the client machines. You can see <a href="http://sixfriedrice.com/wp/filemaker-server-autoupdate/" rel="nofollow">this article</a> for help getting plug-ins onto every client.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Fleming</title>
		<link>http://sixfriedrice.com/wp/stored-calcs-and-plug-ins/comment-page-1/#comment-1263</link>
		<dc:creator>Jason Fleming</dc:creator>
		<pubDate>Wed, 23 Jul 2008 20:28:23 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/stored-calcs-and-plug-ins/#comment-1263</guid>
		<description>Love you website (both content and design).  I am curious how UNstored calculations that use plug-ins work in a hosted environment.  We have a database of all of our customers (~3000 records).  A great deal of our business is repeat customers, but we often end up with duplicates resulting from spelling errors (i.e. &#039;Crump&#039; and &#039;Krump&#039; or &#039;Fleming&#039; and &#039;Flemming&#039;).  I created a simple plug-in that utilizes Levenshtein Distance (http://en.wikipedia.org/wiki/Levenshtein_distance) to find names with similar spellings.  Each customer record has a Match_Field: an unstored calculation that compares the name against a Global_Search_Field using the Levenshtein plug-in.  When a customer calls to make a purchase, the end-user enters the customer name in Global_Search_Field and then triggers a script that finds/sorts based on Match_Field.  If I enable this plug-in on our server, will the server make the calculations for this find/sort, or will it occur on the client?</description>
		<content:encoded><![CDATA[<p>Love you website (both content and design).  I am curious how UNstored calculations that use plug-ins work in a hosted environment.  We have a database of all of our customers (~3000 records).  A great deal of our business is repeat customers, but we often end up with duplicates resulting from spelling errors (i.e. &#8216;Crump&#8217; and &#8216;Krump&#8217; or &#8216;Fleming&#8217; and &#8216;Flemming&#8217;).  I created a simple plug-in that utilizes Levenshtein Distance (<a href="http://en.wikipedia.org/wiki/Levenshtein_distance" rel="nofollow">http://en.wikipedia.org/wiki/Levenshtein_distance</a>) to find names with similar spellings.  Each customer record has a Match_Field: an unstored calculation that compares the name against a Global_Search_Field using the Levenshtein plug-in.  When a customer calls to make a purchase, the end-user enters the customer name in Global_Search_Field and then triggers a script that finds/sorts based on Match_Field.  If I enable this plug-in on our server, will the server make the calculations for this find/sort, or will it occur on the client?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff Coffey</title>
		<link>http://sixfriedrice.com/wp/stored-calcs-and-plug-ins/comment-page-1/#comment-939</link>
		<dc:creator>Geoff Coffey</dc:creator>
		<pubDate>Mon, 21 Jan 2008 04:49:42 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/stored-calcs-and-plug-ins/#comment-939</guid>
		<description>@deepak: Most any plug-in will work with a database hosted on FileMaker server. But the plug-in needs to be installed on each client computer that uses it. Some plug-ins, though, can be installed directly on the server, and will operate in meaningful ways for all connected clients. In some cases (as this article explains) calculations happen on the server, where a server-installed plug-in is needed. In other cases, they happen on the client where a client-installed plug-in is needed.

In most cases though, plug-ins are used with scripting, and scripts *always* run on the client side.

Hope that clears it up.</description>
		<content:encoded><![CDATA[<p>@deepak: Most any plug-in will work with a database hosted on FileMaker server. But the plug-in needs to be installed on each client computer that uses it. Some plug-ins, though, can be installed directly on the server, and will operate in meaningful ways for all connected clients. In some cases (as this article explains) calculations happen on the server, where a server-installed plug-in is needed. In other cases, they happen on the client where a client-installed plug-in is needed.</p>
<p>In most cases though, plug-ins are used with scripting, and scripts *always* run on the client side.</p>
<p>Hope that clears it up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak Mahat</title>
		<link>http://sixfriedrice.com/wp/stored-calcs-and-plug-ins/comment-page-1/#comment-933</link>
		<dc:creator>Deepak Mahat</dc:creator>
		<pubDate>Fri, 18 Jan 2008 00:08:08 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/stored-calcs-and-plug-ins/#comment-933</guid>
		<description>Hi, I was wondering what do you mean by plugin compatible with FM Server. Am i right that if a plugin works with FM9 pro advanced, it may not work in FM9 Server??
I have a plugin which has fmx file as plugin file and a dll as support file for it. I want to put them in server and copy it to client, as the client access those database. What will be the quick idea on how to for me in this situation. The plugin is to interact with Microsoft office documents so need to operate in each of client environment.
Many Thanks, Deepak.</description>
		<content:encoded><![CDATA[<p>Hi, I was wondering what do you mean by plugin compatible with FM Server. Am i right that if a plugin works with FM9 pro advanced, it may not work in FM9 Server??<br />
I have a plugin which has fmx file as plugin file and a dll as support file for it. I want to put them in server and copy it to client, as the client access those database. What will be the quick idea on how to for me in this situation. The plugin is to interact with Microsoft office documents so need to operate in each of client environment.<br />
Many Thanks, Deepak.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Randell</title>
		<link>http://sixfriedrice.com/wp/stored-calcs-and-plug-ins/comment-page-1/#comment-582</link>
		<dc:creator>Jim Randell</dc:creator>
		<pubDate>Fri, 21 Sep 2007 15:45:40 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/stored-calcs-and-plug-ins/#comment-582</guid>
		<description>Thanks Guys !!!</description>
		<content:encoded><![CDATA[<p>Thanks Guys !!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff Coffey</title>
		<link>http://sixfriedrice.com/wp/stored-calcs-and-plug-ins/comment-page-1/#comment-577</link>
		<dc:creator>Geoff Coffey</dc:creator>
		<pubDate>Fri, 21 Sep 2007 01:09:49 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/stored-calcs-and-plug-ins/#comment-577</guid>
		<description>@Jim: Thanks for the kind words :) You&#039;ll have to check with your particular plug-in vendor to find out about server compatibility. In the case of Events (from Worqsmart/Waves in Motion), I don&#039;t think this problem applies because it isn&#039;t used to calculate legitimate stored text values. You might use a stored calculation with Events in some cases, but you don&#039;t actually care about storing the result in the database, so it is fine to add a new field for this purpose. Hope that makes sense.</description>
		<content:encoded><![CDATA[<p>@Jim: Thanks for the kind words <img src='http://sixfriedrice.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  You&#8217;ll have to check with your particular plug-in vendor to find out about server compatibility. In the case of Events (from Worqsmart/Waves in Motion), I don&#8217;t think this problem applies because it isn&#8217;t used to calculate legitimate stored text values. You might use a stored calculation with Events in some cases, but you don&#8217;t actually care about storing the result in the database, so it is fine to add a new field for this purpose. Hope that makes sense.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Antunes</title>
		<link>http://sixfriedrice.com/wp/stored-calcs-and-plug-ins/comment-page-1/#comment-576</link>
		<dc:creator>Jesse Antunes</dc:creator>
		<pubDate>Fri, 21 Sep 2007 01:09:09 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/stored-calcs-and-plug-ins/#comment-576</guid>
		<description>@Jim - Welcome!  Glad you like the blog.  I&#039;m not really sure I get your question though.  If you&#039;re plug-in is registered through the use of a text file or a serial number this problem with stored calculations will affect you.  You would have to use the techniques described above to create your stored calc.  I hope that helps.  If not, just reply again and I will see if I can make any clarifications</description>
		<content:encoded><![CDATA[<p>@Jim &#8211; Welcome!  Glad you like the blog.  I&#8217;m not really sure I get your question though.  If you&#8217;re plug-in is registered through the use of a text file or a serial number this problem with stored calculations will affect you.  You would have to use the techniques described above to create your stored calc.  I hope that helps.  If not, just reply again and I will see if I can make any clarifications</p>
]]></content:encoded>
	</item>
</channel>
</rss>

