<?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: FileMaker &#8211; Passing Multiple Script Parameters</title>
	<atom:link href="http://sixfriedrice.com/wp/passing-multiple-parameters-to-scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://sixfriedrice.com/wp/passing-multiple-parameters-to-scripts/</link>
	<description>smart business solutions</description>
	<lastBuildDate>Fri, 18 May 2012 01:30:19 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Geoff Coffey</title>
		<link>http://sixfriedrice.com/wp/passing-multiple-parameters-to-scripts/comment-page-1/#comment-1357</link>
		<dc:creator>Geoff Coffey</dc:creator>
		<pubDate>Tue, 18 Nov 2008 16:16:33 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/passing-multiple-parameters-to-scripts/#comment-1357</guid>
		<description>Kirk:

No harm done to the pooch, so far as I can tell. Jesse&#039;s solution is just a more generalized approach that can be used:

1: For as many parameters as you want
2: Reliably with &lt;i&gt;any&lt;/i&gt; data
3: Consistently across many different scripts with no specialized knowledge

The idea is that you can use custom functions to easily handle the &quot;tricky&quot; part of passing parameters, so that when you actually pass and receive them, it is simple.

Geoff</description>
		<content:encoded><![CDATA[<p>Kirk:</p>
<p>No harm done to the pooch, so far as I can tell. Jesse&#8217;s solution is just a more generalized approach that can be used:</p>
<p>1: For as many parameters as you want<br />
2: Reliably with <i>any</i> data<br />
3: Consistently across many different scripts with no specialized knowledge</p>
<p>The idea is that you can use custom functions to easily handle the &#8220;tricky&#8221; part of passing parameters, so that when you actually pass and receive them, it is simple.</p>
<p>Geoff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kirk Rheinlander</title>
		<link>http://sixfriedrice.com/wp/passing-multiple-parameters-to-scripts/comment-page-1/#comment-1354</link>
		<dc:creator>Kirk Rheinlander</dc:creator>
		<pubDate>Mon, 17 Nov 2008 17:55:19 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/passing-multiple-parameters-to-scripts/#comment-1354</guid>
		<description>I ran into a need for this function recently, converting a FM9 solution to IWP deployment, and the requirement for the non-supported custom dialog boxes, of which I had used 42 in the FM application. 35 of which, however, were pure informational on failure to complete something (OK is the only response, met with a resume script step to handle the modal response), but were of 2 different sizes; one with 20+- words, and the other with 200+- words. In IWP, this doesn&#039;t matter - it&#039;ll use the entire browser window. However, some clients will be using the FMremote, and, rather than leave the custom dialog function, and trapping the web access user in a conditional statement, I put a S_ or L_ in front of the script parameter. Parsing for the first character, gives me the conditional for Small or Large window size, while the remainder of the now field-level-metadata script parameter provides the conditional to pick up the right text to display in a single  global field. The underscore is not as pretty as the paragraph delimiter, but is easy to read, and displays on a single line. 

Not having any problems, but have I &quot;screwed-the-pooch&quot; someplace in this approach??</description>
		<content:encoded><![CDATA[<p>I ran into a need for this function recently, converting a FM9 solution to IWP deployment, and the requirement for the non-supported custom dialog boxes, of which I had used 42 in the FM application. 35 of which, however, were pure informational on failure to complete something (OK is the only response, met with a resume script step to handle the modal response), but were of 2 different sizes; one with 20+- words, and the other with 200+- words. In IWP, this doesn&#8217;t matter &#8211; it&#8217;ll use the entire browser window. However, some clients will be using the FMremote, and, rather than leave the custom dialog function, and trapping the web access user in a conditional statement, I put a S_ or L_ in front of the script parameter. Parsing for the first character, gives me the conditional for Small or Large window size, while the remainder of the now field-level-metadata script parameter provides the conditional to pick up the right text to display in a single  global field. The underscore is not as pretty as the paragraph delimiter, but is easy to read, and displays on a single line. </p>
<p>Not having any problems, but have I &#8220;screwed-the-pooch&#8221; someplace in this approach??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Antunes</title>
		<link>http://sixfriedrice.com/wp/passing-multiple-parameters-to-scripts/comment-page-1/#comment-508</link>
		<dc:creator>Jesse Antunes</dc:creator>
		<pubDate>Sun, 09 Sep 2007 15:26:07 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/passing-multiple-parameters-to-scripts/#comment-508</guid>
		<description>@Charles - That is exactly how we do it in our fp7 solutions....  To tell you the truth I have no idea why I wrote it the way I did for this article.  :) Thanks for the tip.</description>
		<content:encoded><![CDATA[<p>@Charles &#8211; That is exactly how we do it in our fp7 solutions&#8230;.  To tell you the truth I have no idea why I wrote it the way I did for this article.  <img src='http://sixfriedrice.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Thanks for the tip.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles Houghton-Webb</title>
		<link>http://sixfriedrice.com/wp/passing-multiple-parameters-to-scripts/comment-page-1/#comment-507</link>
		<dc:creator>Charles Houghton-Webb</dc:creator>
		<pubDate>Sun, 09 Sep 2007 12:02:07 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/passing-multiple-parameters-to-scripts/#comment-507</guid>
		<description>A solution I&#039;ve been using since FP7 is more or less your code, but as a simple &quot;one liner&quot; :-)

Substitute ( MiddleValues ( Get( ScriptParameter );n;1) ; Â¶ ; &quot;&quot; )

where n is the parameter you want to get.

The parameters are sent the same way :
Parameter1 &amp; Â¶ &amp; Parameter2 &amp; Â¶ &amp; Parameter3 ... etc.

It&#039;s perhaps just a little tidier than your way ;-)</description>
		<content:encoded><![CDATA[<p>A solution I&#8217;ve been using since FP7 is more or less your code, but as a simple &#8220;one liner&#8221; <img src='http://sixfriedrice.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Substitute ( MiddleValues ( Get( ScriptParameter );n;1) ; Â¶ ; &#8220;&#8221; )</p>
<p>where n is the parameter you want to get.</p>
<p>The parameters are sent the same way :<br />
Parameter1 &amp; Â¶ &amp; Parameter2 &amp; Â¶ &amp; Parameter3 &#8230; etc.</p>
<p>It&#8217;s perhaps just a little tidier than your way <img src='http://sixfriedrice.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff Coffey</title>
		<link>http://sixfriedrice.com/wp/passing-multiple-parameters-to-scripts/comment-page-1/#comment-116</link>
		<dc:creator>Geoff Coffey</dc:creator>
		<pubDate>Thu, 12 Jul 2007 16:39:28 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/passing-multiple-parameters-to-scripts/#comment-116</guid>
		<description>&lt;p&gt;@david: You are absolutely right. The only trouble is GetValue doesn&#039;t exist in FileMaker 7, and for reasons client-inspired, this technique needed 7 support. Maybe someday we&#039;ll update the calcs to be a little cleaner in 8+. Thanks for the input :)&lt;/p&gt;

&lt;p&gt;PS: Jesse will be posting his even cooler &lt;em&gt;advanced&lt;/em&gt; multi-parameter system shortly. This is the one we use in every project now. It makes complex scripting so much more fun...&lt;/p&gt;

&lt;p&gt;Geoff&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@david: You are absolutely right. The only trouble is GetValue doesn&#8217;t exist in FileMaker 7, and for reasons client-inspired, this technique needed 7 support. Maybe someday we&#8217;ll update the calcs to be a little cleaner in 8+. Thanks for the input <img src='http://sixfriedrice.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>PS: Jesse will be posting his even cooler <em>advanced</em> multi-parameter system shortly. This is the one we use in every project now. It makes complex scripting so much more fun&#8230;</p>
<p>Geoff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Richards</title>
		<link>http://sixfriedrice.com/wp/passing-multiple-parameters-to-scripts/comment-page-1/#comment-115</link>
		<dc:creator>David Richards</dc:creator>
		<pubDate>Thu, 12 Jul 2007 16:23:59 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/passing-multiple-parameters-to-scripts/#comment-115</guid>
		<description>&lt;p&gt;Use the &#039;GetValue&#039; function instead of &#039;MiddleValues&#039;, you won&#039;t need to remove the carriage returns.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Use the &#8216;GetValue&#8217; function instead of &#8216;MiddleValues&#8217;, you won&#8217;t need to remove the carriage returns.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

