<?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#4: Temporary Files</title>
	<atom:link href="http://sixfriedrice.com/wp/filemaker-9-tip4-temporary-files/feed/" rel="self" type="application/rss+xml" />
	<link>http://sixfriedrice.com/wp/filemaker-9-tip4-temporary-files/</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: Atalanta</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip4-temporary-files/comment-page-1/#comment-2050</link>
		<dc:creator>Atalanta</dc:creator>
		<pubDate>Fri, 15 Apr 2011 16:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/filemaker-9-tip4-temporary-files/#comment-2050</guid>
		<description>Thank you for this tip! I&#039;m making great use of it. 

I&#039;m working in FM11ADV on Win 7 and I noticed the temp folder go bye-bye when I closed FM. Don&#039;t think you need the FMTEMPFM tag anymore. 

I&#039;ve also found that the temporary folder is a great place to store a PDF that I need to create on the fly and paste into a record without cluttering up the user&#039;s desktop.

I could be wrong. Please let me know if I am.</description>
		<content:encoded><![CDATA[<p>Thank you for this tip! I&#8217;m making great use of it. </p>
<p>I&#8217;m working in FM11ADV on Win 7 and I noticed the temp folder go bye-bye when I closed FM. Don&#8217;t think you need the FMTEMPFM tag anymore. </p>
<p>I&#8217;ve also found that the temporary folder is a great place to store a PDF that I need to create on the fly and paste into a record without cluttering up the user&#8217;s desktop.</p>
<p>I could be wrong. Please let me know if I am.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Gosney</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip4-temporary-files/comment-page-1/#comment-1882</link>
		<dc:creator>Robert Gosney</dc:creator>
		<pubDate>Thu, 07 Jan 2010 19:32:30 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/filemaker-9-tip4-temporary-files/#comment-1882</guid>
		<description>Geoff,
is there anyway to make the format for date maintain the Leading Zeros in the actual data table, not just in the display format on the layout?

I&#039;ve tried, but when I export the dates to a text file, they still have no Leading zeros in them anymore, just as selecting a date on a layout.  It looks like the leading zeros are there (01/02/2010), but when you click on it to edit, the Zero go away, so I&#039;m lead to believe that the filemaker table is not maintaining the leading zero&#039;s in date fields.   

Bob</description>
		<content:encoded><![CDATA[<p>Geoff,<br />
is there anyway to make the format for date maintain the Leading Zeros in the actual data table, not just in the display format on the layout?</p>
<p>I&#8217;ve tried, but when I export the dates to a text file, they still have no Leading zeros in them anymore, just as selecting a date on a layout.  It looks like the leading zeros are there (01/02/2010), but when you click on it to edit, the Zero go away, so I&#8217;m lead to believe that the filemaker table is not maintaining the leading zero&#8217;s in date fields.   </p>
<p>Bob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Gosney</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip4-temporary-files/comment-page-1/#comment-1857</link>
		<dc:creator>Robert Gosney</dc:creator>
		<pubDate>Tue, 03 Nov 2009 17:18:03 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/filemaker-9-tip4-temporary-files/#comment-1857</guid>
		<description>Thanks Geoff.

This is embarrassing, but I&#039;ve already used solution # 3 with Microsoft Access to create a text file for inport into Famous Software Database (Oracle).   If I had slowed down to think about it, I would have connected the dots.    Thanks for connecting them for me!

Bob</description>
		<content:encoded><![CDATA[<p>Thanks Geoff.</p>
<p>This is embarrassing, but I&#8217;ve already used solution # 3 with Microsoft Access to create a text file for inport into Famous Software Database (Oracle).   If I had slowed down to think about it, I would have connected the dots.    Thanks for connecting them for me!</p>
<p>Bob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff Coffey</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip4-temporary-files/comment-page-1/#comment-1856</link>
		<dc:creator>Geoff Coffey</dc:creator>
		<pubDate>Tue, 03 Nov 2009 16:16:56 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/filemaker-9-tip4-temporary-files/#comment-1856</guid>
		<description>Robert:

FileMaker does not directly support this kind of export format, but you do have several options:

1: Use XSLT. FileMaker can apply an XSLT stylesheet to any exported data, effectively producing just about any text output you can dream up. Unfortunately, you have to know how to write XSLT, which is notoriously complicated. So this is the powerful-built-in-hard option.

2: Use a plug-in. Something like the Troi File plug-in will let you create a file and add text to it using FIleMaker scripts. This is quite flexible and powerful, and often easier for a non-programmer than XSLT. The down side, of course, is that you have to buy and install the plug-in on every machine that needs the feature. 

3: Use a hack. You can make a new table with just one text field. Then put one full *line* of your output text in this field, and one new record for each additional line. Then export this file as a Tab Delimited Text format. Since you have only one field, you won&#039;t get any tabs in your output, and FileMaker will automatically put line break after each line for you. The end result is that you can export any line-by-line text format this way. The down side is that you can&#039;t include a Tab character in your field (FileMaker will remove it on export since it is the delimiter). 

Often #3 is good enough, and it is quite easy to do. If you need a little more control, #1 or #2 should work.

Hope this helps,

Geoff</description>
		<content:encoded><![CDATA[<p>Robert:</p>
<p>FileMaker does not directly support this kind of export format, but you do have several options:</p>
<p>1: Use XSLT. FileMaker can apply an XSLT stylesheet to any exported data, effectively producing just about any text output you can dream up. Unfortunately, you have to know how to write XSLT, which is notoriously complicated. So this is the powerful-built-in-hard option.</p>
<p>2: Use a plug-in. Something like the Troi File plug-in will let you create a file and add text to it using FIleMaker scripts. This is quite flexible and powerful, and often easier for a non-programmer than XSLT. The down side, of course, is that you have to buy and install the plug-in on every machine that needs the feature. </p>
<p>3: Use a hack. You can make a new table with just one text field. Then put one full *line* of your output text in this field, and one new record for each additional line. Then export this file as a Tab Delimited Text format. Since you have only one field, you won&#8217;t get any tabs in your output, and FileMaker will automatically put line break after each line for you. The end result is that you can export any line-by-line text format this way. The down side is that you can&#8217;t include a Tab character in your field (FileMaker will remove it on export since it is the delimiter). </p>
<p>Often #3 is good enough, and it is quite easy to do. If you need a little more control, #1 or #2 should work.</p>
<p>Hope this helps,</p>
<p>Geoff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Gosney</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip4-temporary-files/comment-page-1/#comment-1855</link>
		<dc:creator>Robert Gosney</dc:creator>
		<pubDate>Mon, 02 Nov 2009 17:56:56 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/filemaker-9-tip4-temporary-files/#comment-1855</guid>
		<description>I&#039;ve gotten stumped.  I have a project that calls for a text file output that is NOT tab delimited nor CVS delimited.   It needs to be a raw text file and one that I can predetermine the amount of space between the data fields.

It doesn&#039;t seem like Filemake will do this.  OR can it?  Have you ever tried anything like this before.  The export feature is very limited.

Thanks

Bob</description>
		<content:encoded><![CDATA[<p>I&#8217;ve gotten stumped.  I have a project that calls for a text file output that is NOT tab delimited nor CVS delimited.   It needs to be a raw text file and one that I can predetermine the amount of space between the data fields.</p>
<p>It doesn&#8217;t seem like Filemake will do this.  OR can it?  Have you ever tried anything like this before.  The export feature is very limited.</p>
<p>Thanks</p>
<p>Bob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Smith</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip4-temporary-files/comment-page-1/#comment-1837</link>
		<dc:creator>Dan Smith</dc:creator>
		<pubDate>Thu, 03 Sep 2009 13:21:28 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/filemaker-9-tip4-temporary-files/#comment-1837</guid>
		<description>I was playing with Get(TemporaryPath) and Export Field Content today.  To make it work for both a PC and a Mac, I had to use this calculation for the $path:

Case (
    Get(SystemPlatform) = &quot;-2&quot; ;
    &quot;filewin:&quot; ;
    &quot;filemac:&quot;
) &amp;
Get(TemporaryPath) &amp; &quot;file.ext

As Justin said, the leading &quot;/&quot; caused the path to be invalid on a PC, but without it, the path was invalid on a Mac. Adding filewin: or filemac: fixes that problem.
The strange thing was that, even without the leading &quot;/&quot;, the path did not work on my PC (Vista OS), however adding filewin: did work.

- Dan</description>
		<content:encoded><![CDATA[<p>I was playing with Get(TemporaryPath) and Export Field Content today.  To make it work for both a PC and a Mac, I had to use this calculation for the $path:</p>
<p>Case (<br />
    Get(SystemPlatform) = &#8220;-2&#8243; ;<br />
    &#8220;filewin:&#8221; ;<br />
    &#8220;filemac:&#8221;<br />
) &amp;<br />
Get(TemporaryPath) &amp; &#8220;file.ext</p>
<p>As Justin said, the leading &#8220;/&#8221; caused the path to be invalid on a PC, but without it, the path was invalid on a Mac. Adding filewin: or filemac: fixes that problem.<br />
The strange thing was that, even without the leading &#8220;/&#8221;, the path did not work on my PC (Vista OS), however adding filewin: did work.</p>
<p>- Dan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Mazursky</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip4-temporary-files/comment-page-1/#comment-1765</link>
		<dc:creator>Ian Mazursky</dc:creator>
		<pubDate>Wed, 29 Apr 2009 05:14:03 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/filemaker-9-tip4-temporary-files/#comment-1765</guid>
		<description>Hi Guys,

This is a fantastic tip!!  Thanks so much.
I can confirm that the file prefix &quot;FMTEMPFM&quot; works on the mac FMP9.
The file is removed on the relaunch of FMP.

Thanks again!
-ian</description>
		<content:encoded><![CDATA[<p>Hi Guys,</p>
<p>This is a fantastic tip!!  Thanks so much.<br />
I can confirm that the file prefix &#8220;FMTEMPFM&#8221; works on the mac FMP9.<br />
The file is removed on the relaunch of FMP.</p>
<p>Thanks again!<br />
-ian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff Coffey</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip4-temporary-files/comment-page-1/#comment-1760</link>
		<dc:creator>Geoff Coffey</dc:creator>
		<pubDate>Mon, 20 Apr 2009 17:04:07 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/filemaker-9-tip4-temporary-files/#comment-1760</guid>
		<description>@Eric:

Ummm... My head hurts.  :) If I understand you correctly, I see no reason why this shouldn&#039;t work. It will be tricky:
&lt;ol&gt;
&lt;li&gt;Store the .fp7 file in a container field.&lt;/li&gt;
&lt;li&gt;When you need to access it, export it to the temporary folder&lt;/li&gt;
&lt;li&gt;Deal with file references&lt;/li&gt;
&lt;/ol&gt;
For #3, if you need to interact with the file programmatically (open it with a script, run scripts in it from another script, define relationships to it, etc...) then you&#039;ll need to be double-creative because I don&#039;t think you can use variables in the paths of file references. You might be best off exporting the file to a more knowable location like &lt;code&gt;/tmp&lt;/code&gt; on Mac OS X and &lt;code&gt;C:\TEMP&lt;/code&gt; or &lt;code&gt;C:\windows\temp&lt;/code&gt; on Windows. Then you can define a multi-entry file reference that &quot;discovers&quot; your file in one of several possible temporary locations. If you don&#039;t use the &lt;code&gt;Get(TemporaryPath)&lt;/code&gt; location, you&#039;ll want to be sure to clean up your mess when you&#039;re done or you&#039;ll leave files lying around.

Anyway, I&#039;ve never done this, but it sounds do-able.

Geoff</description>
		<content:encoded><![CDATA[<p>@Eric:</p>
<p>Ummm&#8230; My head hurts.  <img src='http://sixfriedrice.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  If I understand you correctly, I see no reason why this shouldn&#8217;t work. It will be tricky:</p>
<ol>
<li>Store the .fp7 file in a container field.</li>
<li>When you need to access it, export it to the temporary folder</li>
<li>Deal with file references</li>
</ol>
<p>For #3, if you need to interact with the file programmatically (open it with a script, run scripts in it from another script, define relationships to it, etc&#8230;) then you&#8217;ll need to be double-creative because I don&#8217;t think you can use variables in the paths of file references. You might be best off exporting the file to a more knowable location like <code>/tmp</code> on Mac OS X and <code>C:\TEMP</code> or <code>C:\windows\temp</code> on Windows. Then you can define a multi-entry file reference that &#8220;discovers&#8221; your file in one of several possible temporary locations. If you don&#8217;t use the <code>Get(TemporaryPath)</code> location, you&#8217;ll want to be sure to clean up your mess when you&#8217;re done or you&#8217;ll leave files lying around.</p>
<p>Anyway, I&#8217;ve never done this, but it sounds do-able.</p>
<p>Geoff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Kightley</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip4-temporary-files/comment-page-1/#comment-1759</link>
		<dc:creator>Eric Kightley</dc:creator>
		<pubDate>Mon, 20 Apr 2009 13:55:41 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/filemaker-9-tip4-temporary-files/#comment-1759</guid>
		<description>I want to be able to open and edit files stored in the database from within the database. Is that possible?

Thanks,
Eric</description>
		<content:encoded><![CDATA[<p>I want to be able to open and edit files stored in the database from within the database. Is that possible?</p>
<p>Thanks,<br />
Eric</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://sixfriedrice.com/wp/filemaker-9-tip4-temporary-files/comment-page-1/#comment-1738</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Mon, 23 Mar 2009 01:12:33 +0000</pubDate>
		<guid isPermaLink="false">http://sixfriedrice.com/wp/filemaker-9-tip4-temporary-files/#comment-1738</guid>
		<description>Just FYI:

For some reason on my computer, Get(TemporaryPath) results in:

/C:/Path/to/temp/file

the leading / was keeping this from working, deleting it made it work without problems, just though someone else might benefit from this :-)

Justin</description>
		<content:encoded><![CDATA[<p>Just FYI:</p>
<p>For some reason on my computer, Get(TemporaryPath) results in:</p>
<p>/C:/Path/to/temp/file</p>
<p>the leading / was keeping this from working, deleting it made it work without problems, just though someone else might benefit from this <img src='http://sixfriedrice.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Justin</p>
]]></content:encoded>
	</item>
</channel>
</rss>

