14 Replies Latest reply on Nov 4, 2015 4:06 PM by TimPuttock

    Startup script for iPhone

    TimPuttock

      I'm new to Filemaker and I'm tasked with trying to build a product database which is also compatible with iPhone.  I'm trying to write a script which will make a layup be the default layup when opening the database with Filemaker Go on the iPhone.  The script reads:

       

      If [PatternCount ( Get (ApplicationVersion) ; "Go" ) = 1]

         Go to Layout ["IPhone 1" (Product Database)]

      Else

        Go to Layout ["Product Database" (Product Database)]

      End If

       

      However this is doing nothing and when I open up with Filemaker Go it still opens the "Product Database" layout.

       

      What am I doing wrong?

       

      Tim