<?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 9 Tip#5: Using the Self Function</title>
	<atom:link href="http://sixfriedrice.com/wp/filemaker-9-tip5-using-the-self-function/feed/" rel="self" type="application/rss+xml" />
	<link>http://sixfriedrice.com/wp/filemaker-9-tip5-using-the-self-function/</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: Pete</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip5-using-the-self-function/comment-page-1/#comment-1762</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Tue, 21 Apr 2009 21:45:03 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/filemaker-9-tip5-using-the-self-function/#comment-1762</guid>
		<description>FileMaker 10 Advanced:

I would like to have a script, triggered by leaving/saving an entry field, that figures out itself from which field it was triggered, if the field&#039;s value was empty, and if so, sets the field value to a certain default value - to avoid having to define that script a dozen times, one for each field.

Whatever I tried, FM won&#039;t accept the Self() function in that place - neither as a script parameter not in the formula to get/set the field value.

I&#039;d like to know if there IS a way - that I&#039;m obviously missing - to achive this using the Self() function, and if so, how to use it correctly.

Many thanks in advance for any hints on this.

Pete</description>
		<content:encoded><![CDATA[<p>FileMaker 10 Advanced:</p>
<p>I would like to have a script, triggered by leaving/saving an entry field, that figures out itself from which field it was triggered, if the field&#8217;s value was empty, and if so, sets the field value to a certain default value &#8211; to avoid having to define that script a dozen times, one for each field.</p>
<p>Whatever I tried, FM won&#8217;t accept the Self() function in that place &#8211; neither as a script parameter not in the formula to get/set the field value.</p>
<p>I&#8217;d like to know if there IS a way &#8211; that I&#8217;m obviously missing &#8211; to achive this using the Self() function, and if so, how to use it correctly.</p>
<p>Many thanks in advance for any hints on this.</p>
<p>Pete</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noah</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip5-using-the-self-function/comment-page-1/#comment-1749</link>
		<dc:creator>Noah</dc:creator>
		<pubDate>Tue, 07 Apr 2009 18:05:15 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/filemaker-9-tip5-using-the-self-function/#comment-1749</guid>
		<description>Not sure if this was mentioned...

I use Self() all the time in the &quot;Auto-Enter&quot; -&gt; &quot;Calculate value&quot; (with Do not replace existing value turned off) to strip pasted in text of it&#039;s formating: TextFormatRemove ( Self )

... especially email address fields where people tend to paste bright blue and underlined formated test.

You can create custom calcs to do other things upon data entry. The example I&#039;ve seen before is to re-format a phone number to your standard convention.</description>
		<content:encoded><![CDATA[<p>Not sure if this was mentioned&#8230;</p>
<p>I use Self() all the time in the &#8220;Auto-Enter&#8221; -&gt; &#8220;Calculate value&#8221; (with Do not replace existing value turned off) to strip pasted in text of it&#8217;s formating: TextFormatRemove ( Self )</p>
<p>&#8230; especially email address fields where people tend to paste bright blue and underlined formated test.</p>
<p>You can create custom calcs to do other things upon data entry. The example I&#8217;ve seen before is to re-format a phone number to your standard convention.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gordo</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip5-using-the-self-function/comment-page-1/#comment-1146</link>
		<dc:creator>Gordo</dc:creator>
		<pubDate>Tue, 27 May 2008 23:08:47 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/filemaker-9-tip5-using-the-self-function/#comment-1146</guid>
		<description>Great Script Parameter, BUT be very careful that all users are running FM 9 + or you will get errors. ? FM 8.5 doesn&#039;t support the SELF parameter. Another great function is Upper(Self) as a lookup to ensure the data is all upper format.</description>
		<content:encoded><![CDATA[<p>Great Script Parameter, BUT be very careful that all users are running FM 9 + or you will get errors. ? FM 8.5 doesn&#8217;t support the SELF parameter. Another great function is Upper(Self) as a lookup to ensure the data is all upper format.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Funayama</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip5-using-the-self-function/comment-page-1/#comment-488</link>
		<dc:creator>Michael Funayama</dc:creator>
		<pubDate>Tue, 04 Sep 2007 05:58:18 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/filemaker-9-tip5-using-the-self-function/#comment-488</guid>
		<description>Tom Fitch&#039;s idea sounds good, but fm9 doesn&#039;t like Self as a script parameter. I&#039;ve got a solution going where the menu buttons are text which changes colour conditionally if it matches the current layout name. With this I can have one set of menu buttons which I copy across to all my layouts, but I still have to enter a different script parameter for each button. They also have the same tooltip calculation.</description>
		<content:encoded><![CDATA[<p>Tom Fitch&#8217;s idea sounds good, but fm9 doesn&#8217;t like Self as a script parameter. I&#8217;ve got a solution going where the menu buttons are text which changes colour conditionally if it matches the current layout name. With this I can have one set of menu buttons which I copy across to all my layouts, but I still have to enter a different script parameter for each button. They also have the same tooltip calculation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff Coffey</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip5-using-the-self-function/comment-page-1/#comment-246</link>
		<dc:creator>Geoff Coffey</dc:creator>
		<pubDate>Wed, 25 Jul 2007 00:59:05 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/filemaker-9-tip5-using-the-self-function/#comment-246</guid>
		<description>@tom: That is a very cool technique. I am positive I&#039;ll be using it myself. I already use a single script and global variables to keep track of sort order so I can swap ascending/descending, so I can apply your idea to get visual feedback for my users with just some conditional formatting. Awesome :)</description>
		<content:encoded><![CDATA[<p>@tom: That is a very cool technique. I am positive I&#8217;ll be using it myself. I already use a single script and global variables to keep track of sort order so I can swap ascending/descending, so I can apply your idea to get visual feedback for my users with just some conditional formatting. Awesome <img src='http://sixfriedrice.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Fitch</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip5-using-the-self-function/comment-page-1/#comment-243</link>
		<dc:creator>Tom Fitch</dc:creator>
		<pubDate>Tue, 24 Jul 2007 18:50:31 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/filemaker-9-tip5-using-the-self-function/#comment-243</guid>
		<description>You can use Self to highlight the column heading of a list layout to indicate sorting. 

1. pass a Script Parameter &quot;self&quot; to the sort script; 
... i.e., you&#039;re passing the text of the button...
2. in the script set $$sortorder to the param; 
3. conditionally format the button you clicked with self = $$sortorder

You can extend this to include an up or down triangle for ascending/descending sort, using a dingbat font that you hide/show by changing its text color to match the background or not. However, this method seems to require individually naming each object, which is kind of a bummer. I.e. you can nicely use conditional formatting for this part, but not the Self function.</description>
		<content:encoded><![CDATA[<p>You can use Self to highlight the column heading of a list layout to indicate sorting. </p>
<p>1. pass a Script Parameter &#8220;self&#8221; to the sort script;<br />
&#8230; i.e., you&#8217;re passing the text of the button&#8230;<br />
2. in the script set $$sortorder to the param;<br />
3. conditionally format the button you clicked with self = $$sortorder</p>
<p>You can extend this to include an up or down triangle for ascending/descending sort, using a dingbat font that you hide/show by changing its text color to match the background or not. However, this method seems to require individually naming each object, which is kind of a bummer. I.e. you can nicely use conditional formatting for this part, but not the Self function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bart Bartholomay</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip5-using-the-self-function/comment-page-1/#comment-203</link>
		<dc:creator>Bart Bartholomay</dc:creator>
		<pubDate>Wed, 18 Jul 2007 19:59:12 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/filemaker-9-tip5-using-the-self-function/#comment-203</guid>
		<description>&lt;p&gt;Hey, David, do you have a small proof of concept file you could make available?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey, David, do you have a small proof of concept file you could make available?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff Coffey</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip5-using-the-self-function/comment-page-1/#comment-135</link>
		<dc:creator>Geoff Coffey</dc:creator>
		<pubDate>Fri, 13 Jul 2007 14:45:47 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/filemaker-9-tip5-using-the-self-function/#comment-135</guid>
		<description>&lt;p&gt;@david: Awesome.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@david: Awesome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Head</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip5-using-the-self-function/comment-page-1/#comment-131</link>
		<dc:creator>David Head</dc:creator>
		<pubDate>Fri, 13 Jul 2007 09:11:52 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/filemaker-9-tip5-using-the-self-function/#comment-131</guid>
		<description>&lt;p&gt;Since the Self function will return the contents of a field that it refers to, you can use tooltips to display the entire contents of a field. &lt;/p&gt;

&lt;p&gt;Take the case of a list where there is limited space for a field. When a user hovers their mouse over the field, a tooltip appears that displays the entire field contents.&lt;/p&gt;

&lt;p&gt;This was done in the past by defining the tooltip with the field name. Not any more - set the tooltip to Self. Then duplicate the field (with its tooltip), specify the field for the duplicate and the tooltip will display the contents of the new field.&lt;/p&gt;

&lt;p&gt;Now all that is just great. But what about existing fields? Set all the tooltips individually? No way. Select ALL the fields you want to add these tooltips to, right-clic, select Set Tooltip... and specify Self. All fields will display their individual field contents. Cool or what?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Since the Self function will return the contents of a field that it refers to, you can use tooltips to display the entire contents of a field. </p>
<p>Take the case of a list where there is limited space for a field. When a user hovers their mouse over the field, a tooltip appears that displays the entire field contents.</p>
<p>This was done in the past by defining the tooltip with the field name. Not any more &#8211; set the tooltip to Self. Then duplicate the field (with its tooltip), specify the field for the duplicate and the tooltip will display the contents of the new field.</p>
<p>Now all that is just great. But what about existing fields? Set all the tooltips individually? No way. Select ALL the fields you want to add these tooltips to, right-clic, select Set Tooltip&#8230; and specify Self. All fields will display their individual field contents. Cool or what?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff Coffey</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip5-using-the-self-function/comment-page-1/#comment-106</link>
		<dc:creator>Geoff Coffey</dc:creator>
		<pubDate>Thu, 12 Jul 2007 00:19:35 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/filemaker-9-tip5-using-the-self-function/#comment-106</guid>
		<description>&lt;p&gt;@susan: I always knew you were a genius :) That&#039;s an awesome idea...it is such a nuisance to change out your navigation buttons on each layout. I love it.&lt;/p&gt;

&lt;p&gt;Geoff&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@susan: I always knew you were a genius <img src='http://sixfriedrice.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  That&#8217;s an awesome idea&#8230;it is such a nuisance to change out your navigation buttons on each layout. I love it.</p>
<p>Geoff</p>
]]></content:encoded>
	</item>
</channel>
</rss>

