<?xml version="1.0"?>
<rss version="2.0"><channel><title>Captain's Blog</title><link>https://fmforums.com/blogs/blog/3-captains-blog/</link><description><![CDATA[
<p>
	Official FMForums Blog
</p>
]]></description><language>en</language><item><title>DotFMP - The Pan European Un-Conference</title><link>https://fmforums.com/blogs/entry/1402-dotfmp-the-pan-european-un-conference/</link><description><![CDATA[
<p>I don't blog much - but I wanted to say i really enjoyed my second visit to dotFMP.com in Berlin a few weeks ago ( first week of June). It was a fantastic collection of brilliant talent! and very kindred souls, that I have had the pleasure of visiting.</p>
<p>The start to the conference in Berlin was the oldest beer garden in east Berlin - and well when in Berlin <img title=":wholeyard:" alt=":wholeyard:" src="https://fmforums.com/uploads/Blackstuff.gif" loading="lazy"></p>
<p style="text-align: center;"><a class="ipsAttachLink ipsAttachLink_image" href="https://fmforums.com/uploads/monthly_2015_07/IMG_5467.JPG.89ebe0c822030551d652bed127b49a1d.JPG"><img data-fileid="23140" class="ipsImage ipsImage_thumbnailed" style="width: 300px; border: 0px solid black; margin: 1px;" alt="IMG_5467.thumb.JPG.309101e1e96880ca5da8e" src="https://fmforums.com/uploads/monthly_2015_07/IMG_5467.thumb.JPG.309101e1e96880ca5da8e1d18e0c7355.JPG" loading="lazy"></a> <a class="ipsAttachLink ipsAttachLink_image" href="https://fmforums.com/uploads/monthly_2015_07/IMG_5464.JPG.52cbd1806691490268cc6858a54a0347.JPG"><img data-fileid="23142" class="ipsImage ipsImage_thumbnailed" style="width: 400px; height: 300px; border: 0px solid black; margin: 1px;" alt="IMG_5464.thumb.JPG.22a481c47065c06be8a09" src="https://fmforums.com/uploads/monthly_2015_07/IMG_5464.thumb.JPG.22a481c47065c06be8a09645d740b279.JPG" loading="lazy"></a></p>
<p>Was a great way to start a conference. </p>
<p>Here is an audio recording of a impromptu podcast I did with Egbert or <a data-ipshover="" data-ipshover-target="http://fmforums.com/profile/84011-pixi/?do=hovercard" data-mentionid="84011" href="https://fmforums.com/profile/84011-pixi/">@pixi</a> the conference organizer.  </p>
<div class="ipsEmbeddedOther">
<div class="ipsEmbeddedOther"><iframe src="https://fmforums.com/?app=core&amp;module=system&amp;controller=embed&amp;url=https%3A%2F%2Fsoundcloud.com%2Ffmforums%2Fdotfmp-the-pan-european-unconference" data-controller="core.front.core.autoSizeIframe" loading="lazy"></iframe></div>
<p> </p>
<div class="ipsEmbeddedOther"> </div>
<div class="ipsEmbeddedOther"> </div>
<div class="ipsEmbeddedOther">It was a fantastic program and encourage everyone to come next year <strong>June 2-4 in 2016</strong>  Point you browser to <a rel="external nofollow" href="http://www.dotfmp.com">dotfmp.com</a> or on twitter <a rel="external nofollow" href="https://twitter.com/dotfmp">@dotfmp</a> for the latest updates.</div>
<div class="ipsEmbeddedOther"> </div>
<div class="ipsEmbeddedOther" style="text-align: center;">
<a class="ipsAttachLink ipsAttachLink_image" href="https://fmforums.com/uploads/monthly_2015_07/IMG_5475.JPG.182de2f7e09fb1d11a9fb21e1ab73dc0.JPG"><img data-fileid="23145" class="ipsImage ipsImage_thumbnailed" style="width: 400px; height: 300px; border: 0px solid black; margin: 1px;" alt="IMG_5475.thumb.JPG.7e4bcad2eccca54bde8bd" src="https://fmforums.com/uploads/monthly_2015_07/IMG_5475.thumb.JPG.7e4bcad2eccca54bde8bd10c9914a385.JPG" loading="lazy"></a><a class="ipsAttachLink ipsAttachLink_image" href="https://fmforums.com/uploads/monthly_2015_07/IMG_5490.JPG.cf078566b446debab774053c5c7e036d.JPG"><img data-fileid="23148" class="ipsImage ipsImage_thumbnailed" style="width: 400px; height: 300px; border: 0px solid black; margin: 1px;" alt="IMG_5490.thumb.JPG.7296ea4c9199adf61b6ea" src="https://fmforums.com/uploads/monthly_2015_07/IMG_5490.thumb.JPG.7296ea4c9199adf61b6eaf3a2670b4aa.JPG" loading="lazy"></a><a class="ipsAttachLink ipsAttachLink_image" href="https://fmforums.com/uploads/monthly_2015_07/IMG_5496.JPG.4062b48ff6579fbefceb784886f2e94e.JPG"><img data-fileid="23147" class="ipsImage ipsImage_thumbnailed" style="width: 400px; height: 300px; border: 0px solid black; margin: 1px;" alt="IMG_5496.thumb.JPG.925dd649036f3445f988b" src="https://fmforums.com/uploads/monthly_2015_07/IMG_5496.thumb.JPG.925dd649036f3445f988b67dad3204f7.JPG" loading="lazy"></a>
</div>
<div class="ipsEmbeddedOther"> </div>
</div>
<p> </p>
]]></description><guid isPermaLink="false">1402</guid><pubDate>Mon, 06 Jul 2015 16:08:01 +0000</pubDate></item><item><title>Just a test</title><link>https://fmforums.com/blogs/entry/1367-just-a-test/</link><description><![CDATA[
<p>Testing blog post.</p>
]]></description><guid isPermaLink="false">1367</guid><pubDate>Thu, 16 Apr 2015 19:21:58 +0000</pubDate></item><item><title>A little SQL with a dash of Virtual List</title><link>https://fmforums.com/blogs/entry/823-a-little-sql-with-a-dash-of-virtual-list/</link><description><![CDATA[
<p>Ok I don't blog much so here goes.</p>
<p>
</p>
<p>
I have this process where I need to create 4 records for every customer with different dates per month.</p>
<p>
</p>
<p>
I settled on the process to derive this set of values via Execute SQL because of a few factors.</p>
<ul>
<li>I need to collect all this data in and have it sorted by date.<br>
</li>
<li>Any other method the data would be semi sorted and not naturally in chronological order because of overlap from one customer to the next.<br>
</li>
</ul>
<p></p>
<p>
<span style="color:#008000">But i also needed another UUID that can would be static for the entire set of customers for this cycle but I didn't want to use REPLACE in a field on the Customer table it would update all the modification timestamp field, and that would be more work for Syncing the tables to the iPad.</span></p>
<p>
</p>
<p>
Here is how i solved this:  </p>
<p>
</p>
<p>
When my script starts I set a global field that is the 1st day of the given month.  Then I use the wonderful <a href="http://www.briandunning.com/cf/868" rel="external nofollow">CustomList</a> function to generate 1000 UUID's - even though i only need about 600 I gave myself room - plus they are not adding customers that often.</p>
<p></p>
<pre class="ipsCode">
Set Variable [$$uid_temp; Value: CustomList ( 1 ; 1000 ; "Get ( UUID )" ) ]</pre>
<p></p>
<p>
Then in the Customer table I have an unstored calculation field called <strong>uid_temp</strong> which is: GetValue ( $$uid_temp ; Get ( RecordNumber ) )</p>
<p>
</p>
<p>
</p>
<p>
Now when i perform the script with SQL it will grab that value and use the UNION function to build 4 records per customer including the uuid from the global variable as an ad hoc virtual list so that my records are tied together for the cycle by their own unique key, not just the customer id.</p>
<p>
</p>
<p>
here is the SQL ( thanks to <a href="http://fmforums.com/profile/52342-beverly/">beverly</a> - putting me on the right track )</p>
<p></p>
<pre class="ipsCode">
// Built by SQLExplorer.  Compliments of SeedCode… Cheers!
Let ( [ 
// Define Carriage Return Substitution Character
ReturnSub = "n" ;
// Enable the second line here if you want the header in your results
header = "";
// Define Table variables
aCUST = Quote ( GetValue ( Substitute ( GetFieldName ( Customers::UID ) ; "::" ; ¶ ) ; 1 ) ) &amp; " a" ;

// Define Field Variables
aUID = "a." &amp; Quote ( GetValue ( Substitute ( GetFieldName ( Customers::UID ) ; "::" ; ¶ ) ; 2 ) ) ;
aINSP = "a." &amp; Quote ( GetValue ( Substitute ( GetFieldName ( Customers::uid_temp ) ; "::" ; ¶ ) ; 2 ) ) ;
aTemp = "a." &amp; Quote ( GetValue ( Substitute ( GetFieldName ( Customers::uid_template ) ; "::" ; ¶ ) ; 2 ) ) ;
a1 = "a." &amp; Quote ( GetValue ( Substitute ( GetFieldName ( Customers::x1 ) ; "::" ; ¶ ) ; 2 ) ) ;
a2 = "a." &amp; Quote ( GetValue ( Substitute ( GetFieldName ( Customers::x2 ) ; "::" ; ¶ ) ; 2 ) ) ;
a3 = "a." &amp; Quote ( GetValue ( Substitute ( GetFieldName ( Customers::x3 ) ; "::" ; ¶ ) ; 2 ) ) ;
a4 = "a." &amp; Quote ( GetValue ( Substitute ( GetFieldName ( Customers::x4 ) ; "::" ; ¶ ) ; 2 ) ) ;

// Build SQL Query
q = "
SELECT 1 as exam, " &amp; aUID &amp; ", " &amp; aINSP &amp; ", " &amp; aTemp &amp; ", ''||" &amp; a1 &amp; ", " &amp; a1 &amp; " as eDate
FROM " &amp; aCUST &amp; " 
UNION
SELECT 2 as exam, " &amp; aUID &amp; ", " &amp; aINSP &amp; ", " &amp; aTemp  &amp; ", ''||" &amp; a2 &amp; ", " &amp; a2 &amp; " as eDate
FROM " &amp; aCUST &amp; " 
UNION
SELECT 3 as exam, " &amp; aUID &amp; ", " &amp; aINSP &amp; ", " &amp; aTemp  &amp; ", ''||" &amp; a3 &amp; ", " &amp; a3 &amp; " as eDate
FROM " &amp; aCUST &amp; " 
UNION
SELECT 4 as exam, " &amp; aUID &amp; ", " &amp; aINSP &amp; ", " &amp; aTemp &amp; ", ''||" &amp; a4 &amp; ", " &amp; a4 &amp; " as eDate
FROM " &amp; aCUST &amp; "
ORDER BY eDate "
;
// Run SQL Query
result = ExecuteSQL ( q ; "|" ; "|*|" ; "" ) ] ;  

// Clean up carriage returns
List ( header ; Substitute ( result ; [ ¶ ; ReturnSub ] ; [ "|*|" ; ¶ ]  ) )  )

</pre>
<p></p>
<p>
In this statement i am using a <a href="http://www.seedcode.com/executesql-date-formats/" rel="external nofollow">wonderful technique</a> by using two single quotes and two pipes it casts the date field as text so that it is in the correct format for a FileMaker Date field.</p>
<p>
</p>
<p>
So my end goal with this is to return a number,  3 UIDs and a date all pipe separated.  Here is the first few lines of the result:</p>
<p></p>
<pre class="ipsCode">
1|02CCB2BD-9373-4716-BED5-CC105F6E89F6|CCB1EA18-E1FD-48DF-B64D-7659DF020DA5|B5E75592-2E7C-4AFD-A6FF-346197720DBE|9/28/2014|2014-09-28
1|1E367D44-4AF6-4946-ACA9-6B775096B83E|3790B3B0-990A-4A86-936D-09E9E74307DC|A9D888C7-6D4E-4108-AE60-2F89F800BDD9|9/28/2014|2014-09-28
1|323CFBEF-BA26-492B-A9C0-22CC65255916|EE238A0A-00C2-4C4C-B886-E8201CEF6977|B5E75592-2E7C-4AFD-A6FF-346197720DBE|9/28/2014|2014-09-28
1|3329F063-994A-4015-8B31-F2D2C6FD83AA|2A92BC19-30C2-404E-9598-2D78F58E7D0A|B5E75592-2E7C-4AFD-A6FF-346197720DBE|9/28/2014|2014-09-28
1|53C69425-81B1-441F-8C52-16840C72D516|989D6D7D-2C1A-4BC6-BAE9-D26E7DEF81CF|1A0403CB-DD46-4184-BBF1-A70EA46FF345|9/28/2014|2014-09-28
</pre>
<p></p>
<p>
Then the script will loop thru this array explode it out to local variables and create records in the target table setting the values.</p>
<p>
</p>
<p>
Running this script As Perform Script On Server runs very well creating about 2200 records in under a minute. </p>
<p>
</p>
<p>
I am still <a href="http://fmforums.com/forum/topic/92410-holiday-shifting-black-box/">looking</a> on streamlining the method to get the proper dates but for now the half dozen fields needed to do so seems to work.</p>
]]></description><guid isPermaLink="false">823</guid><pubDate>Sat, 05 Jul 2014 23:00:00 +0000</pubDate></item><item><title>Local Blogs</title><link>https://fmforums.com/blogs/entry/262-local-blogs/</link><description><![CDATA[
<p>For members who have been blogging on the site - many of you have or maintain an external blog. Initially when we set up the forum we allowed external blog link all that did was redirect a visitor to your actually blog, and counted how many times that link was clicked.</p>
<p>
</p>
<p>
I have since disabled external blog links but I have enabled RSS Import of external blogs - This way entries of your blogs can be imported as they occur. (10 per day) </p>
<p>
and you get the benefit of having view counts on each of your blog entries, and if enabled you can allow visitors to comment locally here.</p>
<p>
</p>
<p>
Enjoy.</p>
]]></description><guid isPermaLink="false">262</guid><pubDate>Sat, 07 Jan 2012 20:23:00 +0000</pubDate></item><item><title>From: Do you got the gift of Gab?</title><link>https://fmforums.com/blogs/entry/4-from-do-you-got-the-gift-of-gab/</link><description><![CDATA[
<p>FMForums members may now create and publish their own blogs. </p>
<p>
</p>
<p>
<a href="%22http://fmforums.com/forum/index.php?app=blog&amp;module=manage%22" rel="external nofollow">Click Here To Start</a></p>
<p>
</p>
<p>
</p>
<p>
Already have an established blog on another service - you link to the blog service here to get more traffic.</p>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
Enjoy</p>
<p>
</p>
<p>
Source: <a href="http://fmforums.com/forum/index.php/topic/75115-do-you-got-the-gift-of-gab/page__view__findpost__p__355775">Do you got the gift of Gab?</a></p>
]]></description><guid isPermaLink="false">4</guid><pubDate>Sun, 05 Dec 2010 21:47:00 +0000</pubDate></item></channel></rss>
